CVE-2026-32889 tinytag: Denial of Service via non-terminating SYLT frame parsing loop

Medium 6.5 Published Updated

Attackers can cause a denial of service in applications using tinytag by supplying crafted MP3 files that trigger an infinite loop during metadata parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-32889?

CVE-2026-32889 is a medium-severity denial of service vulnerability in tinytag, published on 20 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-835

Which versions are affected by CVE-2026-32889?

3 open source packages ship an affected version, including tinytag. It affects 1 product.

PackageAffectedFixed in
tinytag PyPIAll versions2.2.1
tinytag PyPIAll versions2.2.1
tinytag PyPIAll versions2.2.1

Products include Tinytag Tinytag.

How do I fix CVE-2026-32889?

Upgrade tinytag to 2.2.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-32889 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32889 exists.

Sources

Also known as GHSA-f4rq-2259-hv29, PYSEC-2026-3386.

Is CVE-2026-32889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free