# JLSEC-2026-1187: FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write...

- Severity: High 7.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-07T13:27:45.313Z
- Modified: 2026-08-08T23:15:05.822Z
- Related: CVE-2026-66041, GHSA-frhp-m687-9g3q, EUVD-2026-48743

## Description

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.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): from 7.1.0+0 before 9.0.0+0
- FFMPEG_nogpl_jll (Julia): before 9.0.0+0
- FFplay_jll (Julia): from 7.1.0+0 before 9.0.0+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Julia Security Advisories: CVSS:4.0 `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`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/4da9812e25894fb51d62a8875cfa8eb39b5e20f5> (web)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23625> (web)
- <https://github.com/advisories/GHSA-frhp-m687-9g3q> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66041> (web)
- <https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-via-vf-quirc-filter> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1187](https://osv.dev/vulnerability/JLSEC-2026-1187), CC-BY-4.0, modified 2026-08-08

---

Page: https://cve.day/JLSEC-2026-1187 · Whole record: https://cve.day/JLSEC-2026-1187.json · Rebuilt by cve.day 2026-11-25T22:56:25.894Z
