CVE-2026-64830 Details
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.
A heap buffer overflow vulnerability has been identified in FFmpeg versions 2.1 prior to 8.1.2, within the VobSub subtitle demuxer in libavformat/mpeg.c. This vulnerability allows attackers to corrupt adjacent heap memory by using a malicious .sub or .idx subtitle file that contains more distinct stream IDs than the fixed-size array can handle. The exploitation involves triggering out-of-bounds writes through the subtitle queue insertion function, potentially leading to arbitrary code execution in applications that utilize FFmpeg's VobSub demuxer.
Users can upgrade to FFmpeg versions 8.1.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ffmpeg ffmpeg | >= 2.1, <= 8.1.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 28, 2026 | Initial Analysis | [email protected] |
| Jul 22, 2026 | CVE Modified | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 22, 2026 | New CVE Received | [email protected] |