FFmpeg up to 8.1.2 vf_quirc filter av_image_copy_plane out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in FFmpeg up to 8.1.2. Affected by this vulnerability is the function av_image_copy_plane of the component vf_quirc filter. Executing a manipulation can lead to out-of-bounds write.
This vulnerability is registered as CVE-2026-66041. It is possible to launch the attack remotely. No exploit is available.
Details
A vulnerability was found in FFmpeg up to 8.1.2. It has been declared as critical. This vulnerability affects the function av_image_copy_plane of the component vf_quirc filter. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. The CWE definition for the vulnerability is CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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 advisory is shared for download at code.ffmpeg.org. This vulnerability was named CVE-2026-66041 since 07/23/2026. The exploitation appears to be easy. The attack can be initiated remotely. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 329731 (Linux Distros Unpatched Vulnerability : CVE-2026-66041), which helps to determine the existence of the flaw in a target environment.
Applying the patch 4da9812e25894fb51d62a8875cfa8eb39b5e20f5 is able to eliminate this problem.
The vulnerability is also documented in the vulnerability database at Tenable (329731). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://ffmpeg.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.5
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 8.8
CNA Vector (VulnCheck): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 329731
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-66041
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 4da9812e25894fb51d62a8875cfa8eb39b5e20f5
Timeline
07/23/2026 CVE reserved07/24/2026 Advisory disclosed
07/24/2026 VulDB entry created
08/09/2026 VulDB entry last update
Sources
Product: ffmpeg.orgAdvisory: code.ffmpeg.org
Status: Confirmed
CVE: CVE-2026-66041 (🔒)
GCVE (CVE): GCVE-0-2026-66041
GCVE (VulDB): GCVE-100-383020
Entry
Created: 07/24/2026 22:26Updated: 08/09/2026 16:33
Changes: 07/24/2026 22:26 (55), 07/26/2026 02:29 (2), 08/09/2026 16:33 (32)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.