1. Home
  2. Vulnerabilities
  3. CVE-2026-125209

CVE-2026-125209

FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c

Published 9 Nov 2026 · modified 30 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 33/100

Summary

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.

Affected products and versions

Ffmpeg (4 line(s))
Ffmpeg
ProductVersionsFixed inSource
Ffmpeg before 8.1.3 (excluded) — CNA (vendor or assigner)
Ffmpeg from 9.0 (included) to 9.0.2 (excluded) — CNA (vendor or assigner)
Ffmpeg before 8.1.3 (excluded) — NVD
Ffmpeg from 9.0 (included) to 9.0.2 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-131 · Autre (CWE-131)

How this data is obtained and calculated