Skip to content
Fencer Vulns
high 8.8

CVE-2026-66041 json

FFmpeg 7.0 - 8.1.2 Heap Out-of-Bounds Write via vf_quirc Filter

published 2026-07-24 3 mo ago modified 2026-10-24 15 d ago also EUVD-2026-48743 , GHSA-frhp-m687-9g3q , JLSEC-2026-1187

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia FFMPEG_jll 9.0.0+0
  • julia FFMPEG_nogpl_jll 9.0.0+0
  • julia FFplay_jll 9.0.0+0
  • ffmpeg Debian 14 7:9.0.2-1

debian advisories DEBIAN-CVE-2026-66041

  • ffmpeg-7 SLES 16.0, SLES for SAP applications 16.0 7.1.4-160000.3.1

suse advisories SUSE-SU-2026:23222-1SUSE-SU-2026:23232-1

  • ffmpeg-7 openSUSE Tumbleweed 7.1.5-2.1
  • ffmpeg-7 openSUSE Leap 16.0 7.1.4-160000.3.1

opensuse advisories openSUSE-SU-2026:11665-1openSUSE-SU-2026:21572-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-66041 updated cvss 8.8

ffmpeg: FFmpeg: Arbitrary code execution via crafted PGS/SUP subtitle file

  • Red Hat Enterprise Linux AI (RHEL AI) 3 ffmpeg, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 more Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
3 mo ago

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • code.ffmpeg.org https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23625 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 7.7 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 4.0 7.7 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
>=7.1.0+0, <9.0.0+0
9.0.0+0
julia FFMPEG_nogpl_jll
<9.0.0+0
9.0.0+0
julia FFplay_jll
>=7.1.0+0, <9.0.0+0
9.0.0+0

Affected products

  • FFmpeg FFmpeg

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.