Integer Overflow or Wraparound Affecting ffmpeg package, versions [,9.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (2nd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-FFMPEG-20079478
  • published24 Sept 2026
  • disclosed23 Sept 2026

Introduced: 23 Sep 2026

NewCVE-2026-96611  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the mov_read_ispe and read_image_grid paths in libavformat/mov.c. An attacker can trigger the flaw by supplying a crafted HEIF file with oversized ispe width and height values, causing them to be stored as negative int values and then summed into coded_width and coded_height during grid assembly. This can make the dimension calculations wrap on x86 and bypass downstream validity checks, leading to incorrect HEIF image parsing and potential denial of service or other unsafe behavior when FFmpeg processes the malformed image grid.

CVSS Base Scores

version 4.0
version 3.1