Incorrect Calculation of Buffer Size Affecting ffmpeg package, versions [,9.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-FFMPEG-22552422
  • published15 Nov 2026
  • disclosed9 Nov 2026
  • creditUnknown

Introduced: 9 Nov 2026

NewCVE-2026-125209  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation of Buffer Size in the dvdsubenc.c process. An attacker can cause heap memory corruption by supplying files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer.

CVSS Base Scores

version 4.0
version 3.1