cve.bz

CVE-2009-0040 Access of Uninitialized Pointer

no score yetEPSS 4.8%

No CVSS score yet. EPSS 4.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
4.8% (unchanged from 4.8% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-824 Access of Uninitialized Pointer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-0040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-0040?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-0040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-0040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libpng:libpngbefore 1.0.43
libpng:libpngfrom 1.2.0 before 1.2.35
apple:iphone_osbefore 3.0
apple:mac_os_xbefore 10.5.8
opensuse:opensuse10.3
opensuse:opensuse11.0
opensuse:opensuse11.1
suse:linux_enterprise9.0
suse:linux_enterprise10.0
suse:linux_enterprise_desktop10:sp2
suse:linux_enterprise_server10:sp2
debian:debian_linux4.0
debian:debian_linux5.0
fedoraproject:fedora9
fedoraproject:fedora10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0libpng1.2.15~beta5-1+etch2DSA-1750-1
Debian5.0icedove2.0.0.22-0lenny1DSA-1830-1
Debian5.0libpng1.2.27-2+lenny2DSA-1750-1
Red Hatenterprise_linux:2.1::as, enterprise_linux:2.1::aw, enterprise_linux:2.1::es and 1 morelibpng, libpng-devel2:1.0.14-12RHSA-2009:0333
Red Hatenterprise_linux:2.1::as, enterprise_linux:2.1::aw, enterprise_linux:2.1::es and 1 moreseamonkey, seamonkey-nss, seamonkey-chat and 7 more0:1.0.9-0.30.el2RHSA-2009:0325
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng, libpng-devel, libpng-debuginfo2:1.2.2-29RHSA-2009:0340
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng10, libpng10-devel, libpng10-debuginfo0:1.0.13-20RHSA-2009:0340
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moreseamonkey, seamonkey-nss, seamonkey-chat and 8 more0:1.0.9-0.34.el3RHSA-2009:0325
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morefirefox, firefox-debuginfo0:3.0.7-1.el4RHSA-2009:0315
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morelibpng, libpng-devel, libpng-debuginfo2:1.2.7-3.el4_7.2RHSA-2009:0333
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morelibpng10, libpng10-devel, libpng10-debuginfo0:1.0.16-3.el4_7.3RHSA-2009:0333
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moreseamonkey, seamonkey-chat, seamonkey-mail and 4 more0:1.0.9-38.el4RHSA-2009:0325
Red Hatenterprise_linux:5::clientlibpng, libpng-debuginfo2:1.2.10-7.1.el5_3.2RHSA-2009:0333
Red Hatenterprise_linux:5::clientxulrunner, xulrunner-debuginfo0:1.9.0.7-1.el5RHSA-2009:0315
Red Hatenterprise_linux:5::client, enterprise_linux:5::serverfirefox, firefox-debuginfo0:3.0.7-1.el5RHSA-2009:0315
2 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedMozillaFirefox50.1.0-1.1openSUSE-SU-2024:10071-1
openSUSETumbleweedMozillaThunderbird45.5.1-1.1openSUSE-SU-2024:10230-1
openSUSETumbleweedfirefox-esr128.5.1-1.1openSUSE-SU-2024:14572-1
openSUSETumbleweedlibpng161.6.37-3.3openSUSE-SU-2024:10972-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 2.1seamonkey-0:1.0.9-0.30.el2Fixed 2009-03-05RHSA-2009:0325
Red Hat Enterprise Linux 2.1libpng-2:1.0.14-12Fixed 2009-03-04RHSA-2009:0333
Red Hat Enterprise Linux 3seamonkey-0:1.0.9-0.34.el3Fixed 2009-03-05RHSA-2009:0325
Red Hat Enterprise Linux 3libpng-2:1.2.2-29Fixed 2009-03-04RHSA-2009:0340
Red Hat Enterprise Linux 3libpng10-0:1.0.13-20Fixed 2009-03-04RHSA-2009:0340
Red Hat Enterprise Linux 4firefox-0:3.0.7-1.el4Fixed 2009-03-05RHSA-2009:0315
Red Hat Enterprise Linux 4seamonkey-0:1.0.9-38.el4Fixed 2009-03-05RHSA-2009:0325
Red Hat Enterprise Linux 4libpng-2:1.2.7-3.el4_7.2Fixed 2009-03-04RHSA-2009:0333
Red Hat Enterprise Linux 4libpng10-0:1.0.16-3.el4_7.3Fixed 2009-03-04RHSA-2009:0333
Red Hat Enterprise Linux 5firefox-0:3.0.7-1.el5Fixed 2009-03-05RHSA-2009:0315
Red Hat Enterprise Linux 5xulrunner-0:1.9.0.7-1.el5Fixed 2009-03-05RHSA-2009:0315
Red Hat Enterprise Linux 5libpng-2:1.2.10-7.1.el5_3.2Fixed 2009-03-04RHSA-2009:0333

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-0040.

References

Check your stackJSON