CVE-2026-125174
Published:November 09, 2026
Updated:November 10, 2026
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in ff_hap_set_chunk_count() in libavcodec/hap.c, where a shadowed return variable masks reallocation failures. Attackers can supply a crafted Hap video frame with an oversized chunk count so the decoder writes through a NULL chunk table, crashing the application.
Affected Packages
ffmpeg (CONAN):
Affected version(s) >=8.0 <9.0.2 || >=4.2.1 <9.0.2 || >=5.0 <9.0.2 || =9.0.1 <9.0.2 || >=6.0 <9.0.2 || >=7.0.1 <9.0.2Fix Suggestion:
Update to version 9.0.2https://github.com/FFmpeg/FFmpeg.git (GITHUB):
Affected version(s) =n2.8 <n8.1.3 || >=n2.8.1 <n8.1.3 || >=n3.0 <n8.1.3 || >=n4.0 <n8.1.3 || >=n5.0 <n8.1.3 || >=n6.0 <n8.1.3 || >=n7.0 <n8.1.3 || >=n8.0 <n8.1.3Fix Suggestion:
Update to version n8.1.3https://github.com/FFmpeg/FFmpeg.git (GITHUB):
Affected version(s) =n8.2-dev <n9.0.2 || >=n9.0 <n9.0.2Fix Suggestion:
Update to version n9.0.2Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.8
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
CVSS v3
Base Score:
5.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Unchecked Return Value