Skip to main content

FFmpeg CVE-2026-125216

| EUVDEUVD-2026-120305 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-09 disclosure@vulncheck.com GHSA-27wh-6w4j-g6cx
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft 12-bit RGB image (JPEG 2000)
  2. Exploit
    Operator transcodes input to DPX
  3. Execution
    encode_gbrp12() dereferences NULL plane pointers
  4. Impact
    FFmpeg process crash (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires FFmpeg (through 9.0.2) to transcode an attacker-supplied 12-bit RGB image (such as JPEG 2000) to the DPX output format, which routes RGB48 input through encode_gbrp12() with an unvalidated bits_per_raw_sample and dereferences NULL plane pointers. Exploitation is bounded by several factors: the vector is local (AV:L), a user or service must actively initiate the DPX conversion (UI:P), DPX encoding is an uncommon, operator-selected output path rather than a default, and impact is limited to a crash (availability only, no code execution or data exposure). No authentication is required (PR:N), so any input accepted by such a transcoding workflow is sufficient to trigger the crash.

Impact

This is a medium-severity, availability-only denial-of-service flaw (CVE-2026-125216), scored 6.8 under the supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, impact VA:H only). The signals are internally consistent and point to limited real-world urgency rather than a broad emergency: the vector is local (AV:L) and requires user/operator interaction (UI:P) to run a transcode, the only impact is a process crash (no confidentiality or integrity loss), and the vuln.today Decision label is 'this_month', not act_now or emergency. No EPSS score and no CISA KEV status were provided in the input, and there is no confirmed active exploitation - absence of these signals should not be read as suppression, but it does mean no evidence of mass or automated exploitation exists. The references are a VulnCheck advisory, the FFmpeg repository, the vulnerable source line, and the fixing commit/PR; none is verified as working exploit code. Net assessment: a genuine but contained issue - a reliable crash for pipelines that transcode untrusted images to DPX, materially lower priority than a high-CVSS RCE because it is local, requires the uncommon DPX encoder output path plus operator action, and yields only DoS.

Exploit ScenarioDerived

An attacker submits a crafted 12-bit RGB image (for example a JPEG 2000 file) to an automated media pipeline or workstation that uses FFmpeg (through 9.0.2) to transcode input to the DPX format. The encoder selects the encode_gbrp12() path for the RGB48 input and dereferences NULL plane pointers, crashing the FFmpeg process. The local attack vector and the required user/operator action to invoke the DPX conversion limit this to targeted or workflow-specific abuse; no public exploit identified at time of analysis, though a VulnCheck advisory describes the flaw.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

NULL pointer dereference in FFmpeg through 9.0.2’s DPX encoder lets a crafted 12-bit RGB image, such as JPEG 2000, crash the process when transcoded to DPX. The flaw sits in libavcodec/dpxenc.c, where an unvalidated bits_per_raw_sample routes RGB48 input through encode_gbrp12() and dereferences NULL plane pointers. It is a medium-severity, availability-only issue (6.8 CVSS 4.0) with a this_month priority; exploitation requires a local, user- or service-initiated DPX conversion, and no public exploit code is identified in the provided data.

RemediationAI

Apply the upstream fix commit aa5fd7d287db4f469fdcbe444f7f9f38c8c289c7 or an FFmpeg release that contains it; a tagged fixed release is not identified in the provided data, so verify the chosen build includes the encode_init() validation. Until then, the compensating control is to prevent untrusted 12-bit RGB/JPEG 2000 inputs from reaching a DPX transcode-restrict or disable DPX output where untrusted users or services can select the output format-understanding that this will block legitimate DPX workflows. Advisory and patch references: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 and https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-dpx-encoder-null-pointer-dereference-via-encode-gbrp12.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg is a multimedia framework, and its libavcodec DPX encoder writes Digital Picture Exchange images. CWE-476 (NULL pointer dereference) is the root cause class here: encode_init() copied any nonzero bits_per_raw_sample into bits_per_component, so a 12-bit RGB/JPEG 2000 source could select encode_gbrp12() and leave plane pointers NULL, which are then dereferenced during encoding. The upstream commit aa5fd7d287db4f469fdcbe444f7f9f38c8c289c7 narrows this behavior: bits_per_raw_sample == 10 maps to 10-bit components, 16 is allowed past that check, and other nonzero depths now log an “Unsupported bit depth” error and return AVERROR(EINVAL). The source path is libavcodec/dpxenc.c (line 72 in n9.0.2), and the supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VA:H) matches an availability-only crash rather than code execution or data exposure. The issue is tagged Denial Of Service and Null Pointer Dereference.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

An operator must run a local DPX transcode of attacker-supplied media (AV:L, UI:R) with no privileges (PR:N); the deterministic NULL dereference is low-complexity and causes only a crash, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across countless media tools and servers
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy