All reports
High

ffmpeg: heap buffer overflow via DVB 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

Exploitation

CVE-2026-125233

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-21

Description

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in libavcodec/dvbsubenc.c that undercounts each CLUT segment header by two bytes. Attackers can supply a file with many bitmap subtitle rectangles that, when transcoded to the dvbsub encoder, writes past the output buffer and corrupts heap memory.

A flaw was found in FFmpeg. A heap buffer overflow can occur in the DVB subtitle encoder when transcoding a specially crafted media file containing many bitmap subtitle rectangles due to undercounting the CLUT (Color Look-Up Table) segment headers. This vulnerability can lead to memory corruption, potentially resulting in an application crash or arbitrary code execution.