Heap Buffer Overflow in FFmpeg's DVB Subtitle Encoder
CVE-2026-125233

8.5HIGH

Key Information:

Vendor

Ffmpeg

Status
Vendor
CVE Published:
9 November 2026

What is CVE-2026-125233?

FFmpeg, up to version 9.0.2, is susceptible to a heap buffer overflow vulnerability specifically within the dvbsub_encode() function in libavcodec/dvbsubenc.c. This flaw arises due to an incorrect calculation that undercounts each CLUT (Color Lookup Table) segment header by two bytes. Attackers can exploit this vulnerability by supplying crafted files containing numerous bitmap subtitle rectangles. During transcoding to the dvbsub encoder, the encoder may write beyond the output buffer, potentially leading to heap memory corruption and enabling further exploitation.

Affected Version(s)

FFmpeg 0 <= 9.0.2

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Secbuddy, Tencent Keen Security Lab (tested by kvartet)
Joshua Rogers (AISLE Research)
Michael Niedermayer
.