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.
Published: 2026-11-09
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Immediately
AI Analysis

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.

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

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:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T21:06:55.930Z

Reserved: 2026-11-09T18:15:17.666Z

Link: CVE-2026-125216

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:58.733

Modified: 2026-11-09T19:16:58.733

Link: CVE-2026-125216

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:15:14Z

Weaknesses