Integer Overflow or Wraparound Affecting ffmpeg-7.1 package, versions <7.1.5-r2


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (5th 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-WOLFILATEST-FFMPEG71-16345180
  • published2 May 2026
  • disclosed16 Apr 2026

Introduced: 16 Apr 2026

CVE-2026-40962  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Wolfi ffmpeg-7.1 to version 7.1.5-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg-7.1 package and not the ffmpeg-7.1 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

FFmpeg before 8.1 has an integer overflow and resultant out-of-bounds write via CENC (Common Encryption) subsample data to libavformat/mov.c.

CVSS Base Scores

version 3.1