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

10 affected componentsFixes available
FFmpeg FFmpeg>=2.1<=8.1.2
FFmpeg FFmpeg>=2.1<=8.1.2
ubuntu/libav*
ubuntu/ffmpeg<7:2.8.17-0ubuntu0.1+esm17
7:2.8.17-0ubuntu0.1+esm17
ubuntu/ffmpeg<7:3.4.11-0ubuntu0.1+esm15
7:3.4.11-0ubuntu0.1+esm15
ubuntu/ffmpeg<7:4.2.7-0ubuntu0.1+esm16
7:4.2.7-0ubuntu0.1+esm16
ubuntu/ffmpeg<7:4.4.2-0ubuntu0.22.04.1+esm15
7:4.4.2-0ubuntu0.22.04.1+esm15
ubuntu/ffmpeg<7:6.1.1-3ubuntu5+esm13
7:6.1.1-3ubuntu5+esm13
ubuntu/ffmpeg*
ubuntu/ffmpeg<7:8.0.1-3ubuntu2+esm4
7:8.0.1-3ubuntu2+esm4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:2.8.17-0ubuntu0.1+esm17
  2. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:3.4.11-0ubuntu0.1+esm15
  3. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:4.2.7-0ubuntu0.1+esm16
  4. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:4.4.2-0ubuntu0.22.04.1+esm15
  5. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:6.1.1-3ubuntu5+esm13
  6. Upgrade

    Upgrade ubuntu/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:8.0.1-3ubuntu2+esm4

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
DescriptionSeverityWeakness
Event
via NVD·05:16 PM
Updated
via MITRE·05:24 PM
Weakness
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software
Jul 28, 2026
Data Sourced
via NVD·05:00 PM
RemedyAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:56 PM
Affected 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