NULL pointer dereference in Ffmpeg
CVE-2026-125216
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.
Published .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 (issue-tracking)
- github.com/FFmpeg/FFmpeg (product)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dpxenc.c (technical-description)
- Patch Commit (patch)
- VulnCheck Advisory: FFmpeg through 9.0.2 DPX Encoder NULL Pointer Dereference via encode_gbrp12() (third-party-advisory)
Frequently asked questions
- What is CVE-2026-125216?
- CVE-2026-125216 is a medium-severity vulnerability in Ffmpeg, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2026-11-09.
- How severe is CVE-2026-125216?
- Medium severity. CVSS v3 base score is 5.5 out of 10.