FFmpeg <=9.0.2 Heap Buffer Overflow in libavcodec dvbsub_encode
CVE-2026-125233 Published on November 9, 2026

FFmpeg through 9.0.2 Heap Buffer Overflow via DVB Subtitle Encoder
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.

NVD

Vulnerability Analysis

CVE-2026-125233 can be exploited with local system access. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
PASSIVE

Weakness Type

Incorrect Calculation of Buffer Size

The software does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.


Products Associated with CVE-2026-125233

Want to know whenever a new CVE is published for FFmpeg? stack.watch will email you.

Affected Versions

FFmpeg: