GitHub Advisory Database
GHSA-24cc-9352-h2pg
tinytag: Infinite loop when parsing certain M4A files containing invalid atoms
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | tinytag | From 2.0.0 before 2.3.0 (fixed in 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