CVE-2026-125178 FFmpeg through 9.0.2 Out-of-Bounds Heap Read via TDSC Cursor Dimensions

Medium 6.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125178?

CVE-2026-125178 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.

Official description

FFmpeg through 9.0.2 contains an out-of-bounds heap read vulnerability in tdsc_load_cursor() in libavcodec/tdsc.c, which stores cursor dimensions before validating them. Attackers can supply a crafted AVI file with oversized TDSC cursor dimensions so tdsc_paint_cursor() reads past the cursor buffer, crashing the decoder or leaking heap memory into frames.

Weakness: CWE-125

Which versions are affected by CVE-2026-125178?

How do I fix CVE-2026-125178?

No fix has been published for CVE-2026-125178 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-125178 being exploited?

There is no known exploitation of CVE-2026-125178 in the wild and no public exploit code.

Sources

Also known as GHSA-g34h-f9qp-wr9m, UBUNTU-CVE-2026-125178.

Is CVE-2026-125178 in your software?

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

Check your SBOMs for free