Integer Underflow (Wrap or Wraparound) Affecting ffmpeg package, versions [,9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (8th 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-UNMANAGED-FFMPEG-22840858
  • published24 Nov 2026
  • disclosed9 Nov 2026
  • creditUnknown

Introduced: 9 Nov 2026

NewCVE-2026-125197  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the decode_frame function in libavcodec/lcldec.c when processing short ZLIB packets with the FLAG_MULTITHREAD flag. An attacker can cause a crash and potentially disclose sensitive memory contents by supplying a crafted AVI or MKV file containing an LCL video stream with a packet shorter than 8 bytes, bypassing length clamping.

CVSS Base Scores

version 4.0
version 3.1