GHSA-24cc-9352-h2pg

Suggest an improvement
Source
https://github.com/advisories/GHSA-24cc-9352-h2pg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-24cc-9352-h2pg/GHSA-24cc-9352-h2pg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-24cc-9352-h2pg
Aliases
Published
2026-10-15T20:16:47Z
Modified
2026-10-15T20:30:05Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
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.

Database specific
{
    "cwe_ids":  [
        "CWE-835"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-15T20:16:47Z",
    "nvd_published_at":  "2026-10-15T18:17:22Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / tinytag

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.3.0

Affected versions

2.*
2.0.0
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-24cc-9352-h2pg/GHSA-24cc-9352-h2pg.json"