# GHSA-24CC-9352-H2PG: tinytag: Infinite loop when parsing certain M4A files containing invalid atoms

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-15
- Modified: 2026-10-15

## Tracked as

- [CVE-2026-104266](https://cve.now/CVE-2026-104266.md): tinytag: Infinite loop when parsing certain M4A files containing invalid atoms

## Affected versions

- tinytag (PyPI): from 2.0.0, fixed in 2.3.0

## Description

### Impact
An M4A file containing a sub-atom with a size of zero in the `----` atom makes the parser enter an infinite loop, resulting in a denial-of-service for programs reading such files with tinytag.

### Patches
The issue has been fixed in tinytag 2.3.0, by reusing the primary atom parsing code path that contains appropriate size checks.

### Workarounds
No workarounds exist. Users must upgrade to tinytag 2.3.0.

## References

- https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg
- https://nvd.nist.gov/vuln/detail/CVE-2026-104266
- https://github.com/tinytag/tinytag/pull/326
- https://github.com/tinytag/tinytag/commit/9ada221ba44990cb02cd9002d992186e037b515e
- https://github.com/tinytag/tinytag
- https://github.com/tinytag/tinytag/releases/tag/2.3.0

Page: https://cve.now/GHSA-24CC-9352-H2PG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
