Python
CVE-2026-32889
MEDIUM
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Lifecycle Timeline
3Blast Radius
ecosystem impact- 1,242 pypi packages depend on tinytag (50 direct, 1,192 indirect)
Ecosystem-wide dependent count for version 2.2.1.
DescriptionGitHub Advisory
tinytag is a Python library for reading audio file metadata. Version 2.2.0 allows an attacker who can supply MP3 files for parsing to trigger a non-terminating loop while the library parses an ID3v2 SYLT (synchronized lyrics) frame. In server-side deployments that automatically parse attacker-supplied files, a single 498-byte MP3 can cause the parsing operation to stop making progress and remain busy until the worker or process is terminated. The root cause is that _parse_synced_lyrics assumes _find_string_end_pos always returns a position greater than the current offset. That assumption is false when no string terminator is present in the remaining frame content. This issue has been fixed in version 2.2.1.
AnalysisAI
A non-terminating loop denial-of-service vulnerability exists in tinytag version 2.2.0, a Python library for reading audio file metadata. An attacker can supply a malicious MP3 file containing a crafted ID3v2 SYLT (synchronized lyrics) frame that causes the parsing operation to enter an infinite loop, consuming CPU resources until the worker process is terminated. The vulnerability affects server-side deployments that automatically parse user-supplied files, and has been patched in version 2.2.1.
Technical ContextAI
tinytag is a Python library designed to extract metadata from audio files including MP3, OGG, FLAC, and other formats. The vulnerability resides in the _parse_synced_lyrics method, which processes ID3v2 SYLT frames—a standard ID3v2 tag structure used for embedding synchronized lyrics in MP3 files. The root cause falls under CWE-835 (Loop with Unreachable Exit Condition), specifically where the _parse_synced_lyrics function makes an unsafe assumption that the _find_string_end_pos helper function always returns a position strictly greater than the current offset. When processing a malformed SYLT frame lacking a proper string terminator in its remaining content, _find_string_end_pos returns a position equal to or less than the current offset, causing the parsing loop to never advance and remain in an infinite iteration. This is a classic infinite loop vulnerability triggered by insufficient input validation and boundary checking in frame parsing logic.
RemediationAI
Upgrade tinytag to version 2.2.1 or later immediately using pip (pip install --upgrade tinytag>=2.2.1) or equivalent package management tools. Verify the upgrade by checking the installed version with pip show tinytag or examining your requirements.txt/poetry.lock files. Until patching is feasible, implement timeout mechanisms for file parsing operations (e.g., using Python's signal.alarm() or multiprocessing.Process with timeout parameters) to kill hanging parsers after a reasonable duration (5-30 seconds depending on expected file sizes). Additionally, restrict MP3 file parsing to authenticated users where possible, validate SYLT frame structure before parsing, and consider disabling ID3v2 SYLT frame parsing if not required for your application. Monitor process resource usage and implement rate-limiting on file upload endpoints to limit the impact of malicious file submissions. For the latest patch details and commit references, consult the official GitHub security advisory at https://github.com/tinytag/tinytag/security/advisories/GHSA-f4rq-2259-hv29.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing
Same technique Denial Of Service
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-f4rq-2259-hv29