CVE details
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.
Affected ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| multimedia/ffmpeg3 | ffmpeg3 | 3.0.2_1 | unaddressed | kreinholz@gmail.com |
| multimedia/linux-rl9-ffmpeg | linux-rl9-ffmpeg-libs | 7.1.5 | unaddressed | emulation@FreeBSD.org |
| multimedia/ffmpeg4 | ffmpeg4 | 4.4.8_2 | possibly backported | monwarez@mailoo.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ffmpeg3</name>
<range><lt>9</lt></range>
</package>
<package>
<name>linux-rl9-ffmpeg-libs</name>
<range><lt>9</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-70628</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-70628</url>
</references>
<dates>
<discovery>2026-08-06</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>