All reports
Medium

tinytag: Infinite loop when parsing certain M4A files containing invalid atoms

Affected versions

Affected versions
>= 2.0.0, < 2.3.0
Fixed version
2.3.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-104266

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-20

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.

Links

Credits

  • seankohjs
  • mathiascode