CVE-2026-104266: tinytag Infinite Loop When Parsing Certain Vulnerability
MODERATECVE-2026-104266 is a MODERATE (CVSS 6.5) infinite loop when parsing certain vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting tinytag libraries in the PyPI ecosystem. The issue involves infinite loop when parsing certain m4a files containing invalid atoms. Remediation is available by upgrading affected packages to version 2.3.0.
CVE-2026-104266 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-104266
To remediate this vulnerability, upgrade all affected tinytag dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install tinytag>=2.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show tinytag
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-104266, inspect your installed packages using pip:
pip show tinytag
Analyze the terminal output to locate any version of tinytag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0), your application is affected.
Note: The pip show tinytag command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In tinytag, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-104266 Affected tinytag Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tinytag
|
PyPI |
≥ 2.0.0
< 2.3.0
|
2.3.0
|
References
Frequently Asked Questions
What is CVE-2026-104266?
Which tinytag versions are affected?
What version fixes CVE-2026-104266?
Is tinytag affected?
What is the CVSS score of CVE-2026-104266?
What CWE is associated with CVE-2026-104266?
How can I check PyPI dependencies for CVE-2026-104266?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-24cc-9352-h2pg",
"modified" : "2026-10-15T20:16:47Z",
"published" : "2026-10-15T20:16:47Z",
"aliases" : [ "CVE-2026-104266" ],
"summary" : "tinytag: Infinite loop when parsing certain M4A files containing invalid atoms",
"details" : "### Impact\nAn 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.\n\n### Patches\nThe issue has been fixed in tinytag 2.3.0, by reusing the primary atom parsing code path that contains appropriate size checks.\n\n### Workarounds\nNo workarounds exist. Users must upgrade to tinytag 2.3.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "tinytag"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-104266"
}, {
"type" : "WEB",
"url" : "https://github.com/tinytag/tinytag/pull/326"
}, {
"type" : "WEB",
"url" : "https://github.com/tinytag/tinytag/commit/9ada221ba44990cb02cd9002d992186e037b515e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tinytag/tinytag"
}, {
"type" : "WEB",
"url" : "https://github.com/tinytag/tinytag/releases/tag/2.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-835" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-15T20:16:47Z",
"nvd_published_at" : "2026-10-15T18:17:22Z"
}
}