CWE
94 824
Advisory Published
Updated

CVE-2009-0040: Code Injection

First published: Sun Feb 22 2009(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 gamma tables.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
libpng<1.0.43
libpng>=1.2.0<1.2.35
Apple iPhone OS<3.0
Apple Mac OS X<10.5.8
openSUSE openSUSE=10.3
openSUSE openSUSE=11.0
openSUSE openSUSE=11.1
SUSE Linux Enterprise=9.0
SUSE Linux Enterprise=10.0
SUSE Linux Enterprise Desktop=10-sp2
SUSE Linux Enterprise Server=10-sp2
Debian Debian Linux=4.0
Debian Debian Linux=5.0
Fedoraproject Fedora=9
Fedoraproject Fedora=10
libpng<=1.0.42
libpng=0.89c
libpng=0.95
libpng=1.0.0
libpng=1.0.1
libpng=1.0.2
libpng=1.0.3
libpng=1.0.5
libpng=1.0.6
libpng=1.0.6-a
libpng=1.0.6-d
libpng=1.0.6-e
libpng=1.0.6-f
libpng=1.0.6-g
libpng=1.0.6-h
libpng=1.0.6-i
libpng=1.0.6-j
libpng=1.0.7
libpng=1.0.7-beta11
libpng=1.0.7-beta12
libpng=1.0.7-beta13
libpng=1.0.7-beta14
libpng=1.0.7-beta15
libpng=1.0.7-beta16
libpng=1.0.7-beta17
libpng=1.0.7-beta18
libpng=1.0.7-rc1
libpng=1.0.7-rc2
libpng=1.0.8
libpng=1.0.8-beta1
libpng=1.0.8-beta2
libpng=1.0.8-beta3
libpng=1.0.8-beta4
libpng=1.0.8-rc1
libpng=1.0.9
libpng=1.0.9-beta1
libpng=1.0.9-beta10
libpng=1.0.9-beta2
libpng=1.0.9-beta3
libpng=1.0.9-beta4
libpng=1.0.9-beta5
libpng=1.0.9-beta6
libpng=1.0.9-beta7
libpng=1.0.9-beta8
libpng=1.0.9-beta9
libpng=1.0.9-rc1
libpng=1.0.9-rc2
libpng=1.0.10
libpng=1.0.10-beta1
libpng=1.0.10-rc1
libpng=1.0.11
libpng=1.0.11-beta1
libpng=1.0.11-beta2
libpng=1.0.11-beta3
libpng=1.0.11-rc1
libpng=1.0.12
libpng=1.0.12-beta1
libpng=1.0.12-rc1
libpng=1.0.13
libpng=1.0.14
libpng=1.0.15
libpng=1.0.15-rc1
libpng=1.0.15-rc2
libpng=1.0.15-rc3
libpng=1.0.16
libpng=1.0.17
libpng=1.0.17-rc1
libpng=1.0.18
libpng=1.0.19
libpng=1.0.19-rc1
libpng=1.0.19-rc2
libpng=1.0.19-rc3
libpng=1.0.19-rc5
libpng=1.0.20
libpng=1.0.21
libpng=1.0.21-rc1
libpng=1.0.21-rc2
libpng=1.0.22
libpng=1.0.22-rc1
libpng=1.0.23
libpng=1.0.23-rc1
libpng=1.0.23-rc2
libpng=1.0.23-rc3
libpng=1.0.23-rc4
libpng=1.0.23-rc5
libpng=1.0.24
libpng=1.0.24-rc1
libpng=1.0.25
libpng=1.0.25-rc1
libpng=1.0.25-rc2
libpng=1.0.26
libpng=1.0.27
libpng=1.0.27-rc1
libpng=1.0.27-rc2
libpng=1.0.27-rc3
libpng=1.0.27-rc4
libpng=1.0.27-rc5
libpng=1.0.27-rc6
libpng=1.0.28
libpng=1.0.28-rc2
libpng=1.0.28-rc3
libpng=1.0.28-rc4
libpng=1.0.28-rc5
libpng=1.0.28-rc6
libpng=1.0.29
libpng=1.0.29-beta1
libpng=1.0.29-rc1
libpng=1.0.29-rc2
libpng=1.0.29-rc3
libpng=1.0.30
libpng=1.0.31
libpng=1.0.32
libpng=1.0.33
libpng=1.0.34
libpng=1.0.35
libpng=1.0.37
libpng=1.0.38
libpng=1.0.39
libpng=1.0.40
libpng=1.0.41
libpng=1.2.0
libpng=1.2.0-beta1
libpng=1.2.0-beta2
libpng=1.2.0-beta3
libpng=1.2.0-beta4
libpng=1.2.0-beta5
libpng=1.2.0-rc1
libpng=1.2.1
libpng=1.2.1-beta1
libpng=1.2.1-beta2
libpng=1.2.1-beta3
libpng=1.2.1-beta4
libpng=1.2.1-rc1
libpng=1.2.1-rc2
libpng=1.2.2
libpng=1.2.2-beta1
libpng=1.2.2-beta2
libpng=1.2.2-beta3
libpng=1.2.2-beta4
libpng=1.2.2-beta5
libpng=1.2.2-beta6
libpng=1.2.2-rc1
libpng=1.2.3
libpng=1.2.3-rc1
libpng=1.2.3-rc2
libpng=1.2.3-rc3
libpng=1.2.3-rc4
libpng=1.2.3-rc5
libpng=1.2.3-rc6
libpng=1.2.4
libpng=1.2.4-beta1
libpng=1.2.4-beta2
libpng=1.2.4-beta3
libpng=1.2.4-rc1
libpng=1.2.5
libpng=1.2.5-beta1
libpng=1.2.5-beta2
libpng=1.2.5-beta3
libpng=1.2.5-rc1
libpng=1.2.5-rc2
libpng=1.2.5-rc3
libpng=1.2.6
libpng=1.2.6-beta1
libpng=1.2.6-beta2
libpng=1.2.6-beta3
libpng=1.2.6-beta4
libpng=1.2.6-rc1
libpng=1.2.6-rc2
libpng=1.2.6-rc3
libpng=1.2.6-rc4
libpng=1.2.6-rc5
libpng=1.2.7
libpng=1.2.7-beta1
libpng=1.2.7-beta2
libpng=1.2.8
libpng=1.2.8-beta1
libpng=1.2.8-beta2
libpng=1.2.8-beta3
libpng=1.2.8-beta4
libpng=1.2.8-beta5
libpng=1.2.8-rc1
libpng=1.2.8-rc2
libpng=1.2.8-rc3
libpng=1.2.8-rc4
libpng=1.2.8-rc5
libpng=1.2.9
libpng=1.2.9-beta1
libpng=1.2.9-beta10
libpng=1.2.9-beta2
libpng=1.2.9-beta3
libpng=1.2.9-beta4
libpng=1.2.9-beta5
libpng=1.2.9-beta6
libpng=1.2.9-beta7
libpng=1.2.9-beta8
libpng=1.2.9-beta9
libpng=1.2.9-rc1
libpng=1.2.10
libpng=1.2.10-beta1
libpng=1.2.10-beta2
libpng=1.2.10-beta3
libpng=1.2.10-beta4
libpng=1.2.10-beta5
libpng=1.2.10-beta6
libpng=1.2.10-beta7
libpng=1.2.10-rc1
libpng=1.2.10-rc2
libpng=1.2.10-rc3
libpng=1.2.11
libpng=1.2.11-beta1
libpng=1.2.11-beta2
libpng=1.2.11-beta3
libpng=1.2.11-beta4
libpng=1.2.11-rc1
libpng=1.2.11-rc2
libpng=1.2.11-rc3
libpng=1.2.11-rc5
libpng=1.2.13
libpng=1.2.13-beta1
libpng=1.2.13-rc1
libpng=1.2.13-rc2
libpng=1.2.14
libpng=1.2.14-beta1
libpng=1.2.14-beta2
libpng=1.2.14-rc1
libpng=1.2.15
libpng=1.2.15-beta1
libpng=1.2.15-beta2
libpng=1.2.15-beta3
libpng=1.2.15-beta4
libpng=1.2.15-beta5
libpng=1.2.15-beta6
libpng=1.2.15-rc1
libpng=1.2.15-rc2
libpng=1.2.15-rc3
libpng=1.2.15-rc4
libpng=1.2.15-rc5
libpng=1.2.16
libpng=1.2.16-beta1
libpng=1.2.16-beta2
libpng=1.2.16-rc1
libpng=1.2.17
libpng=1.2.17-beta1
libpng=1.2.17-beta2
libpng=1.2.17-rc1
libpng=1.2.17-rc2
libpng=1.2.17-rc3
libpng=1.2.17-rc4
libpng=1.2.18
libpng=1.2.19
libpng=1.2.19-beta1
libpng=1.2.19-beta10
libpng=1.2.19-beta11
libpng=1.2.19-beta12
libpng=1.2.19-beta13
libpng=1.2.19-beta14
libpng=1.2.19-beta15
libpng=1.2.19-beta16
libpng=1.2.19-beta17
libpng=1.2.19-beta18
libpng=1.2.19-beta19
libpng=1.2.19-beta2
libpng=1.2.19-beta20
libpng=1.2.19-beta21
libpng=1.2.19-beta22
libpng=1.2.19-beta23
libpng=1.2.19-beta24
libpng=1.2.19-beta25
libpng=1.2.19-beta26
libpng=1.2.19-beta27
libpng=1.2.19-beta28
libpng=1.2.19-beta29
libpng=1.2.19-beta3
libpng=1.2.19-beta30
libpng=1.2.19-beta31
libpng=1.2.19-beta32
libpng=1.2.19-beta33
libpng=1.2.19-beta4
libpng=1.2.19-beta5
libpng=1.2.19-beta6
libpng=1.2.19-beta7
libpng=1.2.19-beta8
libpng=1.2.19-beta9
libpng=1.2.19-rc1
libpng=1.2.19-rc2
libpng=1.2.19-rc3
libpng=1.2.19-rc4
libpng=1.2.19-rc5
libpng=1.2.19-rc6
libpng=1.2.20
libpng=1.2.20-rc1
libpng=1.2.20-rc2
libpng=1.2.20-rc3
libpng=1.2.20-rc4
libpng=1.2.20-rc5
libpng=1.2.20-rc6
libpng=1.2.21
libpng=1.2.21-beta1
libpng=1.2.21-beta2
libpng=1.2.21-rc1
libpng=1.2.21-rc2
libpng=1.2.21-rc3
libpng=1.2.22
libpng=1.2.22-beta1
libpng=1.2.22-beta2
libpng=1.2.22-beta3
libpng=1.2.22-beta4
libpng=1.2.22-rc1
libpng=1.2.23
libpng=1.2.24
libpng=1.2.25
libpng=1.2.25-beta03
libpng=1.2.25-beta04
libpng=1.2.25-beta05
libpng=1.2.25-beta06
libpng=1.2.25-rc01
libpng=1.2.25-rc02
libpng=1.2.26
libpng=1.2.26-beta01
libpng=1.2.26-beta02
libpng=1.2.26-beta03
libpng=1.2.26-beta04
libpng=1.2.26-beta05
libpng=1.2.26-beta06
libpng=1.2.26-rc01
libpng=1.2.27
libpng=1.2.28
libpng=1.2.29
libpng=1.2.30
libpng=1.2.31
libpng=1.2.32
libpng=1.2.33
libpng=1.2.34

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203