Integer Overflow or Wraparound Affecting ffmpeg-8.0 package, versions <8.0.1-r7


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-FFMPEG80-16345178
  • 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-8.0 to version 8.0.1-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg-8.0 package and not the ffmpeg-8.0 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