CVE-2026-125216 FFmpeg through 9.0.2 DPX Encoder NULL Pointer Dereference via encode_gbrp12()
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125216?
CVE-2026-125216 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/dpxenc.c that allows attackers to crash the process via unvalidated bits_per_raw_sample for RGB48 input. Attackers can supply a 12-bit RGB image, such as JPEG 2000, that when transcoded to DPX selects encode_gbrp12() and dereferences NULL plane pointers, causing denial of service.
Weakness: CWE-476
Which versions are affected by CVE-2026-125216?
How do I fix CVE-2026-125216?
No fix has been published for CVE-2026-125216 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125216 being exploited?
There is no known exploitation of CVE-2026-125216 in the wild and no public exploit code.
Sources
Also known as GHSA-27wh-6w4j-g6cx, UBUNTU-CVE-2026-125216.