Buffer overflow in Ffmpeg
CVE-2026-70628
FFmpeg versions from 0.5 up to, but not including, 9.0 contain a signed integer overflow vulnerability in the DVB subtitle parser in libavcodec/dvbsub_parser.c that allows attackers to trigger a heap buffer overflow by supplying a crafted WTV file. The overflow causes the bounds-check guard expression to wrap to INT_MIN, bypassing the PARSE_BUF_SIZE comparison and invoking memcpy() with attacker-controlled data into a heap buffer, resulting in an out-of-bounds heap write and potential memory corruption or code execution.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.001 (3.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 3.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: 0.000
Affected products
- Ffmpeg — versions 0.5
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/02fc47e13f903768b75f7985a2706a6223ab4506 (Patch, patch)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/93f2a525ec6c7b467bae68322720d10188fc6e30 (Patch, patch)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/c6ec28b18cd1eb7d39e6163137367f2d1c62aa7c (related, Patch)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23897 (issue-tracking, Patch, Issue Tracking)
- www.vulncheck.com/advisories/ffmpeg-dvb-subtitle-parser-heap-buffer-overflow-vi… (Patch, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-70628?
- CVE-2026-70628 is a high-severity vulnerability in Ffmpeg, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2026-08-06.
- How severe is CVE-2026-70628?
- High severity. CVSS v3 base score is 7.8 out of 10.