Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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… (CVE-2026-66041)

0
High
Published: 07/24/2026 (07/24/2026, 21:32:22 UTC)
Source: GCVE Database

Description

FFmpeg versions 7.0 through 8.1.2 contain a heap out-of-bounds write vulnerability in the vf_quirc filter. This flaw arises when processing crafted PGS/SUP subtitle files with mismatched frame dimensions, leading to heap corruption and potential process crashes or code execution. The vulnerability is fixed in commit 4da9812.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
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

Affected software

GitHub Actionsmore threats →ai
ffmpeg/FFmpeg
pkg:github/ffmpeg/FFmpeg
Affected versions
7.0 <8.1.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:54:21 UTC

Technical Analysis

The vulnerability in FFmpeg 7.0 through 8.1.2 involves a heap out-of-bounds write in the vf_quirc filter. When processing a PGS/SUP subtitle file where the second presentation frame has larger dimensions than the first, the function av_image_copy_plane() copies more data than the allocated size of the libquirc grayscale image buffer. This causes heap corruption, which can crash the process and potentially allow code execution. The issue is fixed in commit 4da9812. No patch links are provided in the data, and no known exploits are reported in the wild.

Potential Impact

An attacker can cause heap memory corruption by providing a specially crafted subtitle file with mismatched frame dimensions. This can lead to a process crash and may enable remote code execution due to the heap out-of-bounds write. The vulnerability affects the stability and security of applications using the vulnerable FFmpeg versions with the vf_quirc filter enabled.

Mitigation Recommendations

A fix for this vulnerability is available in commit 4da9812. Users should update FFmpeg to a version that includes this commit to remediate the issue. Since no official patch version or vendor advisory is provided, users should monitor the FFmpeg project for official releases containing this fix. Until updated, avoid processing untrusted PGS/SUP subtitle files with the vf_quirc filter enabled.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-frhp-m687-9g3q
Osv Schema Version
1.4.0
Aliases
["CVE-2026-66041"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a6542289c2644c7f808a014

Added to database: 07/25/2026, 23:09:28 UTC

Last enriched: 07/25/2026, 23:54:21 UTC

Last updated: 07/26/2026, 05:38:48 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses