tinytag: Infinite loop when parsing certain M4A files containing invalid atoms
### 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.
- Products
- tinytag
- Affected versions
- 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1
- Fixed versions
- 2.3.0
- CVEs
- CVE-2026-104266
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 19:14 UTC · Revision 1
Source evidence
tinytag: Infinite loop when parsing certain M4A files containing invalid atoms
core-osv · Original sourcePublished 15 Oct 2026, 20:16 UTC
### 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.
osv:GHSA-24cc-9352-h2pg
tinytag
Fixed versions: 2.3.0
Complete source record
{
"id": "1270fbe0e1a2b56c646d4a15c4de2f3475579a645471c6b189ad6f95c44b5f8f",
"url": "https://osv.dev/vulnerability/GHSA-24cc-9352-h2pg",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "tinytag: Infinite loop when parsing certain M4A files containing invalid atoms",
"summary": "### 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.",
"evidence": "osv:GHSA-24cc-9352-h2pg",
"products": [
{
"name": {
"value": "tinytag",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.0",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.2",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "GHSA-24cc-9352-h2pg",
"aliases": [
"CVE-2026-104266",
"GHSA-24cc-9352-h2pg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.3.0"
}
]
}
],
"package": {
"name": "tinytag",
"purl": "pkg:pypi/tinytag",
"ecosystem": "PyPI"
},
"versions": [
"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"
}
}
],
"modified": "2026-10-15T20:30:05.136549303Z",
"provider": "osv",
"references": [
"https://github.com/tinytag/tinytag/security/advisories/GHSA-24cc-9352-h2pg",
"https://nvd.nist.gov/vuln/detail/CVE-2026-104266",
"https://github.com/tinytag/tinytag/pull/326",
"https://github.com/tinytag/tinytag/commit/9ada221ba44990cb02cd9002d992186e037b515e",
"https://github.com/tinytag/tinytag",
"https://github.com/tinytag/tinytag/releases/tag/2.3.0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-835"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-10-15T18:17:22Z",
"github_reviewed_at": "2026-10-15T20:16:47Z"
}
},
"related_cves": [
{
"value": "CVE-2026-104266",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 336042,
"published_at": "2026-10-15T20:16:47+00:00"
}