CVE-2026-125240 FFmpeg through 9.0.2 Resource Leak in libsvtjpegxs JPEG XS Decoder Wrapper

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

What is CVE-2026-125240?

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

Official description

FFmpeg through 9.0.2 contains a resource leak vulnerability in svt_jpegxs_dec_decode() in libsvtjpegxsdec.c that leaks decoder instances when ff_set_dimensions() rejects frame dimensions. Attackers can supply a crafted JPEG XS stream, for example in MPEG-TS, with oversized headers to repeatedly leak decoder threads and buffers, exhausting memory.

Weakness: CWE-401

Which versions are affected by CVE-2026-125240?

How do I fix CVE-2026-125240?

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

Is CVE-2026-125240 being exploited?

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

Sources

Also known as GHSA-gjhm-46vw-wmhg, UBUNTU-CVE-2026-125240.

Is CVE-2026-125240 in your software?

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

Check your SBOMs for free