Back to CVE catalog
CVE-2008-5907

libpng png_check_keyword arbitrary memory zeroing

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityNone

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
2.558%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:libpnglibpngAffected versions:
< 1.0.42Show full version range for libpng
≥ 1.2.0, < 1.2.34
Vendor:Debiandebian linuxAffected versions:
4.0Show full version range for debian linux
5.0
Vendor:SUSElibpng12-0
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:1.2.31-5.12.1
Vendor:SUSElibpng12-0-32bit
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:1.2.31-5.12.1
Vendor:SUSElibpng12-0-x86
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:1.2.31-5.12.1
Vendor:SUSElibpng12-0
Environments (1)
  • cpe:/o:suse:sles:11:sp2
Affected versions:
< 0:1.2.31-5.25.1
Vendor:SUSElibpng12-0-32bit
Environments (1)
  • cpe:/o:suse:sles:11:sp2
Affected versions:
< 0:1.2.31-5.25.1
Vendor:SUSElibpng12-0-x86
Environments (1)
  • cpe:/o:suse:sles:11:sp2
Affected versions:
< 0:1.2.31-5.25.1
Vendor:SUSElibpng12-0
Environments (1)
  • cpe:/o:suse:sles:11:sp3
Affected versions:
< 0:1.2.31-5.31.1
Vendor:SUSElibpng12-0-32bit
Environments (1)
  • cpe:/o:suse:sles:11:sp3
Affected versions:
< 0:1.2.31-5.31.1

1–10 of 14 · Page 1 of 2

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences