Integer Overflow or Wraparound Affecting aomediacodec/libavif package, versions [,1.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (23rd 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-AOMEDIACODECLIBAVIF-10562215
  • published30 Jun 2025
  • disclosed16 May 2025
  • creditUnknown

Introduced: 16 May 2025

CVE-2025-48175  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade aomediacodec/libavif to version 1.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to the avifImageRGBToYUV function. An attacker can execute arbitrary code by exploiting the integer overflows in the calculations of rgbRowBytes, yRowBytes, uRowBytes, and vRowBytes.

CVSS Base Scores

version 4.0
version 3.1