CVE-2008-5907: Double Free

Published Jan 15, 2009
·
Updated

The pngcheckkeyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\0' character constant to a NULL pointer. NOTE: some sources incorrectly report this as a double free vulnerability.

Affected Software

4 affected components
libpng LIBPNG<1.0.42
libpng LIBPNG>=1.2.0<1.2.34
Debian Debian Linux=5.0
Debian Debian Linux=4.0

Event History

Jan 15, 2009
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2008-5907?

CVE-2008-5907 has a medium severity level due to potential memory manipulation vulnerabilities.

2

How do I fix CVE-2008-5907?

To fix CVE-2008-5907, upgrade to libpng version 1.0.42 or later, or 1.2.34 or later.

3

Which versions of libpng are affected by CVE-2008-5907?

CVE-2008-5907 affects libpng versions before 1.0.42 and from 1.2.0 to 1.2.33.

4

Can CVE-2008-5907 be exploited remotely?

Yes, CVE-2008-5907 can be exploited remotely through crafted PNG files.

5

What are the potential impacts of CVE-2008-5907?

The potential impacts of CVE-2008-5907 include arbitrary memory manipulation which could lead to application crashes or execution of arbitrary code.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203