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

Published Jul 22, 2026
·
Updated

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 ffsubtitlesqueueinsert(), potentially achieving arbitrary code execution in any application using FFmpeg's VobSub demuxer.

Affected Software

2 affected components
FFmpeg FFmpeg>=2.1<=8.1.2
FFmpeg FFmpeg>=2.1<=8.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FFmpeg VobSub subtitle demuxer to a version that resolves this vulnerability.

    Fixed in 8.1.2

Event History

Jul 22, 2026
CVE Published
via MITRE·04:33 PM
Data Sourced
via MITRE·04:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64830?

CVE-2026-64830 has a high severity rating of 8.8.

2

How do I fix CVE-2026-64830?

To fix CVE-2026-64830, update FFmpeg to a version beyond 8.1.2.

3

What is the nature of the vulnerability CVE-2026-64830?

CVE-2026-64830 is a heap buffer overflow vulnerability in the VobSub subtitle demuxer.

4

Who is affected by CVE-2026-64830?

Users of FFmpeg versions 2.1 through 8.1.2 are affected by CVE-2026-64830.

5

What can attackers achieve with CVE-2026-64830?

Attackers can corrupt adjacent heap memory by supplying a malicious .sub/.idx subtitle file due to CVE-2026-64830.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203