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.
{
"sources": [
{
"modified": "2026-08-07T00:32:23.513Z",
"database_specific": {
"status": "Analyzed"
},
"id": "CVE-2026-66041",
"published": "2026-07-24T20:18:21.240Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66041",
"imported": "2026-08-07T05:41:14.813Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66041"
},
{
"modified": "2026-07-24T21:32:28Z",
"html_url": "https://github.com/advisories/GHSA-frhp-m687-9g3q",
"id": "GHSA-frhp-m687-9g3q",
"url": "https://api.github.com/advisories/GHSA-frhp-m687-9g3q",
"imported": "2026-08-07T05:42:17.934Z",
"published": "2026-07-24T21:32:22Z"
},
{
"modified": "2026-07-29T03:55:36Z",
"published": "2026-07-24T19:54:11Z",
"id": "EUVD-2026-48743",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48743",
"imported": "2026-08-07T05:41:15.246Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48743"
}
],
"license": "CC-BY-4.0"
}