Skip to main content
Menu
Advisories

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

GHSA-24CC-9352-H2PGPublished Updated GitHub

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.

Affected versions

References