# CVE-2026-64830: FFmpeg 2.1 - 8.1.2 Heap Buffer Overflow via VobSub Subtitle Demuxer

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-07-22T16:33:05.724Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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 CVE List.)

## Affected

- FFmpeg FFmpeg: from 2.1 up to 8.1.2; dbd495f066a85ba96b17433f4306582aa37c3951

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: 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`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23657> (issue-tracking, patch)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/dbd495f066a85ba96b17433f4306582aa37c3951> (patch)
- <https://www.vulncheck.com/advisories/ffmpeg-heap-buffer-overflow-via-vobsub-subtitle-demuxer> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-64830](https://www.cve.org/CVERecord?id=CVE-2026-64830), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-64830](https://nvd.nist.gov/vuln/detail/CVE-2026-64830), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-64830 · Whole record: https://cve.day/CVE-2026-64830.json · Rebuilt by cve.day 2026-11-25T22:59:29.838Z
