Bug 2570256 (CVE-2026-125270)

Summary: CVE-2026-125270 ffmpeg: FFmpeg: Denial of Service via crafted video frames in V4L2 encoder
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbrownin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in FFmpeg. An attacker could exploit this vulnerability by providing a specially crafted media file to be transcoded using the Video4Linux2 (V4L2) encoder. Due to improper handling of video frames with negative line dimensions, processing the crafted input triggers an out-of-bounds memory read. This flaw can lead to an application crash, causing a Denial of Service (DoS), or result in information disclosure through leaked memory in the encoded output.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578833, 2578834, 2578835, 2578836, 2578837, 2578838, 2578839, 2578840    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-10 19:46:24 UTC
FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c that mishandles frames with negative linesize. Attackers can supply bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, crashing the application or leaking heap memory into encoded output.