Skip to content
OpenAdvisories
High · 8.8 CVE-2026-64830 EUVD-2026-47747GHSA-jphx-q7f7-4x8r

FFmpeg 2.1 - 8.1.2 Heap Buffer Overflow via VobSub Subtitle Demuxer

Published Jul 22, 2026 · Updated Jul 28, 2026 · 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.

Affected products

VendorProductAffectedFixed
FFmpeg FFmpeg 2.1 – ≤ 8.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:9.0.2-1 —
Debian 13 ffmpeg No fix yet —
Debian 12 ffmpeg No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg 7:8.0.1-3ubuntu2+esm4 USN-8716-2
Ubuntu Pro 24.04 LTS ffmpeg 7:6.1.1-3ubuntu5+esm13 USN-8716-1
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm15 USN-8716-1
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm16 USN-8716-1
Ubuntu Pro 18.04 LTS ffmpeg 7:3.4.11-0ubuntu0.1+esm15 USN-8716-1
Ubuntu Pro 16.04 LTS ffmpeg 7:2.8.17-0ubuntu0.1+esm17 USN-8716-1
Ubuntu Pro 14.04 LTS libav No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Enterprise Linux Ai 3 ffmpeg +18 6.1.6-9.el9ai RHSA-2026:74089, RHSA-2026:67309, RHSA-2026:67303
ReleasePackageFixed inAdvisory
SLES 15 SP7 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES 15 SP7 ffmpeg-4 4.4.8-150600.13.52.1 SUSE-SU-2026:3542-1
SLES 15 SP6 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES 15 SP5 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES 15 SP4 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 ffmpeg-7 7.1.4-160000.3.1 SUSE-SU-2026:23232-1, SUSE-SU-2026:23222-1
SLES for SAP 15 SP6 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES for SAP 15 SP5 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES for SAP 15 SP4 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLES for SAP 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
SLES 16.0 ffmpeg-7 7.1.4-160000.3.1 SUSE-SU-2026:23232-1, SUSE-SU-2026:23222-1
SLE HPC 15 SP5 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLE HPC 15 SP4 ffmpeg 3.4.2-150200.11.73.1 SUSE-SU-2026:3552-1
SLE HPC 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.8-3.1 openSUSE-SU-2026:11448-1
openSUSE Tumbleweed ffmpeg-7 7.1.5-2.1 openSUSE-SU-2026:11665-1
openSUSE Leap 16.0 ffmpeg-4 4.4.7-bp160.3.1 openSUSE-SU-2026:21522-1
openSUSE Leap 16.0 ffmpeg-7 7.1.4-160000.3.1 openSUSE-SU-2026:21572-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ffmpeg-7 +2 No fix yet —
Wolfi rolling ffmpeg-8.1 8.1.3-r0 —

Advisories 16

References