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


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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-10558097
  • published27 Jun 2025
  • disclosed16 May 2025
  • creditDanis Jiang (Yuhao Jiang)

Introduced: 16 May 2025

CVE-2025-48174  (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 an integer overflow in the makeRoom function. An attacker can achieve arbitrary code execution by supplying a crafted input that triggers the buffer overflow.

References

CVSS Base Scores

version 4.0
version 3.1