CVE-2008-5907 Null dereference in n/a
Attackers can cause arbitrary memory writes or crashes via crafted PNG files due to a null pointer dereference in libpng.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2008-5907?
CVE-2008-5907 is a medium-severity vulnerability in Debian Debian Linux, published on 15 Jan 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The png_check_keyword 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.
Which versions are affected by CVE-2008-5907?
It affects 2 products.
Products include Debian Debian Linux, Libpng Libpng.
How do I fix CVE-2008-5907?
Upgrade to a fixed version.
Is CVE-2008-5907 being exploited?
There is no known exploitation of CVE-2008-5907 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as GHSA-598m-m5h8-fc92.