Medium

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

  • Disclosed: 15.10.2026
  • Updated: 19.10.2026 08:00

Impact

An M4A file containing a sub-atom with a size of zero in the ---- atom causes the parser to 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.

What to do

Upgrade to tinytag 2.3.0 or later. No workarounds exist.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) tinytag >= 2.0.0, < 2.3.0 2.3.0

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-835
Platform
Python (PyPI)
Package
tinytag
Disclosed
15.10.2026
Updated
19.10.2026 08:00

Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.

OSV / GitHub Advisory Database - GHSA-24cc-9352-h2pg - CC BY 4.0

Vulnerability history: tinytag

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
03.2026 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2026: 2
  1. tinytag: Infinite loop when parsing certain M4A files containing invalid atoms this entry
    Medium · 6.5 CVE-2026-104266 >= 2.0.0, < 2.3.0 2.3.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.