FFmpeg versions 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub subtitle demuxer that allows attackers to corrupt… (CVE-2026-64830)
FFmpeg versions 2.1 through 8.1.2 contain a heap buffer overflow vulnerability in the VobSub subtitle demuxer. This flaw arises when a malicious .sub/.idx subtitle file declares more distinct stream IDs than the fixed-size array can handle, leading to out-of-bounds writes. Exploiting this vulnerability may allow attackers to corrupt adjacent heap memory and potentially achieve arbitrary code execution in applications using the affected demuxer.
AI Analysis
Technical Summary
A heap buffer overflow exists in FFmpeg's VobSub subtitle demuxer in versions 2.1 through 8.1.2. The vulnerability is triggered by supplying a crafted subtitle file with excessive distinct stream IDs, causing unbounded writes beyond the vobsub->q[] array boundary in libavformat/mpeg.c via the ff_subtitles_queue_insert() function. This memory corruption can lead to arbitrary code execution in any application utilizing the vulnerable VobSub demuxer.
Potential Impact
Successful exploitation allows an attacker to corrupt heap memory and potentially execute arbitrary code within the context of the affected application. This could lead to compromise of the host system or application using FFmpeg's VobSub demuxer. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Users should monitor FFmpeg's official channels for updates addressing this vulnerability and avoid processing untrusted subtitle files with vulnerable FFmpeg versions in the meantime.
FFmpeg versions 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub subtitle demuxer that allows attackers to corrupt… (CVE-2026-64830)
Description
FFmpeg versions 2.1 through 8.1.2 contain a heap buffer overflow vulnerability in the VobSub subtitle demuxer. This flaw arises when a malicious .sub/.idx subtitle file declares more distinct stream IDs than the fixed-size array can handle, leading to out-of-bounds writes. Exploiting this vulnerability may allow attackers to corrupt adjacent heap memory and potentially achieve arbitrary code execution in applications using the affected demuxer.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A heap buffer overflow exists in FFmpeg's VobSub subtitle demuxer in versions 2.1 through 8.1.2. The vulnerability is triggered by supplying a crafted subtitle file with excessive distinct stream IDs, causing unbounded writes beyond the vobsub->q[] array boundary in libavformat/mpeg.c via the ff_subtitles_queue_insert() function. This memory corruption can lead to arbitrary code execution in any application utilizing the vulnerable VobSub demuxer.
Potential Impact
Successful exploitation allows an attacker to corrupt heap memory and potentially execute arbitrary code within the context of the affected application. This could lead to compromise of the host system or application using FFmpeg's VobSub demuxer. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Users should monitor FFmpeg's official channels for updates addressing this vulnerability and avoid processing untrusted subtitle files with vulnerable FFmpeg versions in the meantime.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jphx-q7f7-4x8r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64830"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6151269c2644c7f8da6312
Added to database: 07/22/2026, 23:24:22 UTC
Last enriched: 07/23/2026, 00:22:22 UTC
Last updated: 07/23/2026, 01:37:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.