Skip to main content

tinytag CVE-2026-104266

| EUVDEUVD-2026-102209 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-10-15 GitHub_M GHSA-24cc-9352-h2pg
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted M4A with zero-size sub-atom in ---- atom
  2. Delivery
    Application reads file via tinytag metadata parser
  3. Exploit
    Atom traversal fails to advance past malformed location
  4. Execution
    Parser enters infinite loop
  5. Impact
    Process hangs, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a program using tinytag versions 2.0.0 through 2.2.x be induced to read an attacker-supplied M4A/MP4 file; the malicious file must contain a '----' custom-field (iTunes freeform) atom enclosing a sub-atom whose declared size is zero, which halts forward progress in the custom-field atom traversal. The primary limiting factor is the UI:R user-interaction requirement - the victim application must actually open and parse the crafted file (e.g., via an upload, library scan, or file-open action); there is no authentication requirement (PR:N) and the default metadata-reading path is affected, so no non-default configuration is needed. Impact is limited to denial of service (process hang) with no data exposure or modification.

Impact

This is a genuine but limited-severity availability issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, base 6.5) indicates a network-reachable, low-complexity, unauthenticated flaw affecting ONLY availability (CWE-835 infinite loop) - there is no confidentiality or integrity impact, so the realistic worst case is a hung or unresponsive process, not code execution or data compromise. The UI:R requirement is significant: exploitation depends on a victim program being made to read an attacker-crafted M4A file, which lowers real-world risk below what the 6.5 score alone suggests. No EPSS score, SSVC decision, KEV listing, or published POC/exploit-code reference was provided in the input; per the precision rules this is 'no public exploit identified at time of analysis.' The GitHub Security Advisory (GHSA-24cc-9352-h2pg), fixing PR #326, and the 2.3.0 release are all confirmed, and the PR includes malicious trigger samples (empty_custom_field.m4a / mp4_invalid_size_zero.m4a) as regression tests - these are effectively reproduction files but are not weaponized exploit code. Net: a real, confirmed, easily-reproducible DoS worth patching, but not a high-priority emergency given DoS-only impact and the user-interaction prerequisite.

Exploit ScenarioDerived

An attacker crafts an M4A file containing a '----' custom-field atom with a zero-size sub-atom and submits it to an application that uses tinytag 2.0.0-2.2.x to read audio metadata (for example, a media-upload or indexing service). When the application parses the file, the atom-traversal loop stops advancing and spins indefinitely, hanging the thread or process and denying service. No public exploit code was identified, though the fixing PR ships proof-of-concept trigger samples as regression tests.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

Denial of service in the tinytag Python metadata-reading library affects versions 2.0.0 through 2.2.x: parsing a crafted M4A/MP4 file that places a zero-length sub-atom inside a '----' (iTunes freeform custom field) atom leaves the atom traversal loop unable to advance, so metadata extraction hangs indefinitely and the reading process must be killed. Exploitation requires user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, score 6.5) - a victim application must be induced to open, scan, or upload the malicious file - and impact is confined to availability, with no data disclosure or modification. There is no confirmed active exploitation (CISA KEV) and no public exploit code identified at time of analysis; the flaw is fixed in tinytag 2.3.0.

RemediationAI

Vendor-released patch: upgrade to tinytag 2.3.0 (https://github.com/tinytag/tinytag/releases/tag/2.3.0), which incorporates the fix from PR #326 (https://github.com/tinytag/tinytag/pull/326) and commit 9ada221ba44990cb02cd9002d992186e037b515e; see the advisory at https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg for confirmation. If immediate upgrade is not possible, do not rely on tinytag to reject malformed boxes - instead isolate parsing from the critical path: run metadata extraction in a separate worker or subprocess with a hard wall-clock timeout and kill-on-expiry (trade-off: added process overhead and the file is dropped rather than parsed), and apply OS-level CPU/memory limits to the parsing process so a hang degrades only that worker. Because the trigger is an unauthenticated, user-supplied file, restrict or rate-limit untrusted M4A/MP4 ingestion, reject oversized or malformed uploads up front, and prefer parsing on a dedicated pool with concurrency caps (trade-off: legitimate large-file scans may be throttled). No other upstream mitigation exists for versions prior to 2.3.0.

Affected VersionsENISA

tinytag 2.0.0, < 2.3.0

Affected Packages

pypi tinytag fix: 2.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

tinytag parses MP4/M4A metadata by walking the ISO Base Media File Format (ISO BMFF) 'atom' (box) tree, where each atom begins with a 4-byte big-endian size field followed by a 4-byte type. The '----' atom is the iTunes freeform/custom-field container whose children carry user-defined keys and values, so a parser must descend into it to recover custom tags. The root cause is CWE-835 (Loop with Unreachable Exit Condition / infinite loop): the pre-2.3.0 traversal assumed every declared atom size was positive, subtracted the header length without validating the result, and re-read the next atom header from the same offset when a sub-atom declared size 0. Because the malformed location never moved the file pointer forward, the custom-field traversal re-processed the same zero-size child forever. The upstream fix (PR #326) introduces a _read_atom_header() helper that returns an invalid/None size when the declared size is smaller than the header, and rewrites _traverse_atoms() to thread an explicit curr_pos, so invalid sizes terminate parsing rather than looping. Regression tests were added with samples 'empty_custom_field.m4a' and 'mp4_invalid_size_zero.m4a'. The CPE cpe:2.3:a:tinytag:tinytag:*:*:*:*:*:*:*:* covers all releases but the vulnerable window is specifically 2.0.0 up to (excluding) 2.3.0.

Know when Tinytag gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Crafted file can arrive remotely and reliably triggers the loop (AV:N/AC:L/PR:N), but a user/app must open it (UI:R); only availability is affected (A:H, C:N/I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Oct 15, 2026 - 18:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular PyPI audio-metadata library, but not core infrastructure
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy