CVE-2026-125222
Received Received - Intake

Integer Overflow Leading to Heap Buffer Overflow in FFmpeg

Vulnerability report for CVE-2026-125222, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-09

Last updated on: 2026-11-09

Assigner: VulnCheck

Description

FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-09
Last Modified
2026-11-09
Generated
2026-11-09
AI Q&A
2026-11-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FFmpeg FFmpeg From 0 (inc) to 9.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an integer overflow in FFmpeg version 9.0.2. It occurs in the hap_parse_frame_header() function in libavcodec/hapdec.c. Attackers can exploit it by crafting Hap video frames with Snappy length prefixes that wrap tex_size, leading to a heap buffer overflow on 32-bit builds. This can cause the application to crash or potentially allow code execution.

Impact Analysis

If you use FFmpeg on a 32-bit system, this vulnerability could allow attackers to crash your application or execute arbitrary code. This might lead to unauthorized access, data corruption, or denial of service. Users of affected versions should update FFmpeg to a patched version.

Compliance Impact

This vulnerability could impact compliance by enabling unauthorized access or data breaches, which are critical violations under GDPR and HIPAA. Organizations must ensure systems are patched to prevent such risks and maintain regulatory compliance.

Mitigation Strategies

Upgrade FFmpeg to a version later than 9.0.2 to address the integer overflow in hap_parse_frame_header(). Avoid processing untrusted Hap video files with Snappy length prefixes on 32-bit systems.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125222. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...