# JLSEC-2026-1172: FFmpeg versions 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub...

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/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:07.089Z
- Related: CVE-2026-64830, GHSA-jphx-q7f7-4x8r, EUVD-2026-47747

## Description

FFmpeg versions 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub subtitle demuxer that allows attackers to corrupt adjacent heap memory by supplying a malicious .sub/.idx subtitle file declaring more distinct stream IDs than the fixed-size array bounds in `libavformat/mpeg.c`. Attackers can craft a subtitle file with excessive distinct stream IDs to trigger unbounded writes beyond the vobsub->q[] array boundary via `ff_subtitles_queue_insert()`, potentially achieving arbitrary code execution in any application using FFmpeg's VobSub demuxer.

(As written by Julia Security Advisories.)

## Affected

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

## Every score

- Julia Security Advisories: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/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:N/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/dbd495f066a85ba96b17433f4306582aa37c3951> (web)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23657> (web)
- <https://github.com/advisories/GHSA-jphx-q7f7-4x8r> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64830> (web)
- <https://www.vulncheck.com/advisories/ffmpeg-heap-buffer-overflow-via-vobsub-subtitle-demuxer> (web)

## Sources

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

---

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