---
id: CVE-2026-104266
title: tinytag is a Python library for reading audio file metadata
summary: >-
  tinytag is a Python library for reading audio file metadata. From 2.0.0 until
  2.3.0, an M4A file containing a sub-atom with a size of zero inside a ----
  atom can cause the metadata parser to stop advancing through the input. The
  custom-f…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-835
vendor: tinytag
product: tinytag
affected:
  - 'tinytag >= 2.0.0, < 2.3.0'
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T18:17:22.983'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104266'
references:
  - url: >-
      https://github.com/tinytag/tinytag/commit/9ada221ba44990cb02cd9002d992186e037b515e
    label: security-advisories@github.com
  - url: 'https://github.com/tinytag/tinytag/pull/326'
    label: security-advisories@github.com
  - url: 'https://github.com/tinytag/tinytag/releases/tag/2.3.0'
    label: security-advisories@github.com
  - url: 'https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104266'
  - url: 'https://github.com/advisories/GHSA-24cc-9352-h2pg'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
ingestedAt: '2026-10-15T18:23:58.444Z'
aliases:
  - GHSA-24cc-9352-h2pg
ecosystem: pip
patched:
  - tinytag 2.3.0
---

## Overview

tinytag is a Python library for reading audio file metadata. From 2.0.0 until 2.3.0, an M4A file containing a sub-atom with a size of zero inside a ---- atom can cause the metadata parser to stop advancing through the input. The custom-field atom traversal repeatedly processes the malformed location, causing an infinite loop and denying service to a program that reads the crafted file. This issue is fixed in version 2.3.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-104266)

Affected packages:

- `tinytag >= 2.0.0, < 2.3.0`

Patched in:

- `tinytag 2.3.0`

Source: https://github.com/advisories/GHSA-24cc-9352-h2pg
