Vulnerabilities

Vulnerability · CVE-2009-0040

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…

Published Feb 22, 2009 · catalog updated Jun 16, 2026 · Apple

Check if you run it

No confirmed exploitation is on record for CVE-2009-0040. EPSS is 4.83%. Act only if a listed version of Apple is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
4.83%
Remediation
Version ranges on file
Affected products
cpe apple/iphone os · cpe apple/mac os x · cpe debian/debian linux · cpe libpng/libpng · cpe opensuse/opensuse · cpe suse/linux enterprise

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apple/iphone os< 3.0
  • cpe apple/mac os x< 10.5.8
  • cpe debian/debian linux4.0
  • cpe debian/debian linux5.0
  • cpe libpng/libpng< 1.0.43
  • cpe libpng/libpng< 1.2.35
  • cpe opensuse/opensuse10.3
  • cpe opensuse/opensuse11.0
  • cpe opensuse/opensuse11.1
  • cpe suse/linux enterprise10.0
  • cpe suse/linux enterprise9.0
  • cpe suse/linux enterprise desktop10

How to fix CVE-2009-0040

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2009-0040. EPSS is 4.83%. Act only if a listed version of Apple is installed.

Which versions are affected?

Compare what you have installed with apple/iphone os < 3.0; apple/mac os x < 10.5.8; debian/debian linux 4.0; debian/debian linux 5.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-824: Access of Uninitialized Pointer. EPSS 4.83%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 22, 2009 · Apple Security Releases

    Detected

    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 gamm

  2. Jun 16, 2026 · Apple Security Releases

    Updated

    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 gamm

Sources

  • Apple Security ReleasesVendor advisoryCVE-2009-0040

    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 gamm

    nvd.nist.gov
  • CVE.orgVulnerability recordCVE-2009-0040

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2009-0040

    30-day exploitation probability 4.83%

    first.org

References

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.