CVE-2026-125204 FFmpeg through 9.0.2 Heap Buffer Overflow in libwebp Encoder Conditional Replenishment

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125204?

CVE-2026-125204 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.

Official description

FFmpeg through 9.0.2 contains a heap buffer overflow in ff_libwebp_get_frame() in libwebpenc_common.c that lets attackers corrupt memory when cr_threshold is set. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to write pixel data past the stale reference frame and crash applications.

Weakness: CWE-122

Which versions are affected by CVE-2026-125204?

How do I fix CVE-2026-125204?

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

Is CVE-2026-125204 being exploited?

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

Sources

Also known as GHSA-44g2-w5qj-hv47, UBUNTU-CVE-2026-125204.

Is CVE-2026-125204 in your software?

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

Check your SBOMs for free