Bug 2506935 (CVE-2026-66041) - CVE-2026-66041 ffmpeg: FFmpeg: Arbitrary code execution via crafted PGS/SUP subtitle file
Summary: CVE-2026-66041 ffmpeg: FFmpeg: Arbitrary code execution via crafted PGS/SUP s...
Keywords:
Status: NEW
Alias: CVE-2026-66041
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 21:01 UTC by OSIDB Bzimport
Modified: 2026-07-30 12:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-24 21:01:26 UTC
FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write vulnerability in the vf_quirc filter that allows an attacker to corrupt heap memory by supplying a crafted PGS/SUP subtitle file with mismatched frame dimensions. Attackers can provide a subtitle file whose second presentation has larger dimensions than its first, causing av_image_copy_plane() to copy data exceeding the initial allocation size into the undersized libquirc grayscale image buffer, resulting in heap corruption and process crash with potential for code execution.


Note You need to log in before you can comment on or make changes to this bug.