Arbitrary Code Injection Affecting libpng package, versions <1.2.35-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.83% (91st 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-DEBIAN8-LIBPNG-294302
  • published22 Feb 2009
  • disclosed22 Feb 2009

Introduced: 22 Feb 2009

CVE-2009-0040  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:8 libpng to version 1.2.35-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpng package and not the libpng package as distributed by Debian. See How to fix? for Debian:8 relevant fixed versions and status.

The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in pngcrush and other applications, allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file that triggers a free of an uninitialized pointer in (1) the png_read_png function, (2) pCAL chunk handling, or (3) setup of 16-bit gamma tables.

References

CVSS Base Scores

version 3.1