HOMEVULNERABILITIESCVE-2009-0040
MEDIUM

CVE-2009-0040

CWE-824Published: February 22, 2009· Updated: Jun 16, 2026

6.8
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2009-0040 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected Vendors & Products

Apple2 product(s)
iphone osmac os x
Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
libpng1 product(s)
libpng
openSUSE1 product(s)
opensuse
SUSE3 product(s)
linux enterpriselinux enterprise desktoplinux enterprise server
Source: NVD CPE · 14 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (164)

Quick Facts

CVE IDCVE-2009-0040
CVSS Score6.8 / 10
SeverityMEDIUM
WeaknessCWE-824
CISA KEVNo
Affected6 vendor(s)
PublishedFeb 22, 2009

Related CVEs (CWE-824)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2009-0040 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.