CVE-2026-125216

FFmpeg through 9.0.2 DPX Encoder NULL Pointer Dereference via encode_gbrp12()

Published Nov 9, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FFmpeg through version 9.0.2 contains a NULL pointer dereference in the DPX encoder when handling 12‑bit RGB input. The bug occurs in the encode_gbrp12() routine, which dereferences uninitialized plane pointers if the bits_per_raw_sample value is not validated. An attacker can deliver a 12‑bit RGB image, such as a JPEG 2000 file, to the encoder; the vulnerability will cause the FFmpeg process to crash, resulting in a denial of service. The weakness is classified as CWE‑476.

Affected Systems

All installations of FFmpeg 9.0.2 and earlier that employ the DPX encoder, especially when transcode processes 12‑bit RGB images. The issue affects the core FFmpeg library across all platforms that use the affected encoder implementation.

Risk and Exploitability

The vulnerability has a CVSS score of 6.8, indicating moderate severity. EPSS information is not available, and it is not listed in the CISA KEV catalog, which suggests no known widespread exploitation at the time of analysis. However, the attack vector is likely local or reachable remotely if FFmpeg processes untrusted media streams. An attacker who can supply a crafted 12‑bit RGB input can trigger a process crash, causing availability loss for services that rely on FFmpeg. The lack of a public exploit does not eliminate risk, as the fault is straightforward to trigger and can be leveraged in denial‑of‑service attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update FFmpeg to a fixed release (for example, 9.0.3 or later) to eliminate the NULL pointer dereference in the DPX encoder.
  • If an upgrade is not immediately feasible, configure FFmpeg to exclude or disable the DPX encoder when processing known vulnerable input types, such as 12‑bit RGB or JPEG 2000 files.
  • Prior to feeding media to FFmpeg, validate the bits_per_raw_sample field or otherwise pre‑sanitize input to ensure it is non‑null and within acceptable bounds, thereby preventing the kernel from attempting to dereference an uninitialized pointer.

Generated by OpenCVE AI on November 9, 2026 at 21:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FFmpeg through 9.0.2 DPX Encoder NULL Pointer Dereference via encode_gbrp12()
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-476
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 9:06 PM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 7:16 PM
Modified
Nov 30, 2026, 3:00 PM