CVE-2008-5907

high

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.

References

https://exchange.xforce.ibmcloud.com/vulnerabilities/48128

http://www.mandriva.com/security/advisories?name=MDVSA-2009:051

http://www.debian.org/security/2009/dsa-1750

http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement

http://security.gentoo.org/glsa/glsa-200903-28.xml

http://secunia.com/advisories/34388

http://secunia.com/advisories/34320

http://openwall.com/lists/oss-security/2009/01/09/1

http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html

http://libpng.sourceforge.net/index.html

Details

Source: Mitre, NVD

Published: 2009-01-15

Updated: 2018-11-08

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Severity: High