CVE-2026-66041CWE-787

CVE-2026-66041

High · published July 25, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
41.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00487 · 41.0th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-07-25T00:18Z
Affected products (1)
ProductVersionsFixed in
ffmpeg/ffmpeg≥ 7.0, ≤ 8.1.2—
References (3)
EPSS history
Timeline
  • 24 JUL 19:54Z
    FFmpeg 7.0 - 8.1.2 Heap Out-of-Bounds Write via vf_quirc Filter
    cvelistv5