All reports
High

ffmpeg: heap buffer overflow via DVD subtitle encoder

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-125209

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-18

Description

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.

A flaw was found in FFmpeg. A heap buffer overflow can occur in the DVD subtitle encoder when transcoding a media file containing crafted bitmap subtitles due to underestimating the RLE (Run-Length Encoding) output size for odd-width rectangles. This vulnerability can lead to memory corruption, potentially resulting in an application crash or arbitrary code execution.