---
id: CVE-2026-125216
title: FFmpeg through 9.0.2 DPX Encoder NULL Pointer Dereference via encode_gbrp12()
summary: >-
  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 a…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-476
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T21:00:03.624152Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:55.930Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125216'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/aa5fd7d287db4f469fdcbe444f7f9f38c8c289c7
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dpxenc.c#L72'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-dpx-encoder-null-pointer-dereference-via-encode-gbrp12
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 DPX Encoder NULL Pointer
      Dereference via encode_gbrp12()
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.593Z'
---

## Overview

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.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
