Heap Out-of-Bounds Read Vulnerability in FFmpeg
CVE-2026-125270
5.8MEDIUM
What is CVE-2026-125270?
FFmpeg versions up to 9.0.2 have a heap out-of-bounds read vulnerability in the function v4l2_buffer_swframe_to_buf() within libavcodec/v4l2_buffers.c. This flaw occurs when the application mishandles frames that have a negative linesize. Attackers can exploit this vulnerability by supplying specially crafted bottom-up AVI or PNM/PFM files to the V4L2 M2M encoder, potentially leading to application crashes or inadvertent leakage of heap memory into the encoded output.
Affected Version(s)
FFmpeg 0 <= 9.0.2
References
CVSS V4
Score:
5.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Wenjie Yin
