Out-of-bounds Read Affecting libpng package, versions [1.6.32,1.6.51)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-CONAN-LIBPNG-14103025
  • published24 Nov 2025
  • disclosed23 Nov 2025
  • creditSamsung-PENTEST

Introduced: 23 Nov 2025

NewCVE-2025-64720  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.6.51 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the png_image_read_composite function when reading palette images with the PNG_FLAG_OPTIMIZE_ALPHA flag set. An attacker can supply a specially-crafted PNG image that triggers an invalid alpha pre-multiplication calculation.

References

CVSS Base Scores

version 4.0
version 3.1