Back to CVE catalog

AI summary

Multiple buffer overflows in libpng 1.2.5 and earlier, used by multiple products, allow remote attackers to execute arbitrary code via malformed PNG images. The flaws are in png_handle_tRNS, which does not validate the length of transparency chunk data, and in png_handle_sBIT and png_handle_hIST, which lack sufficient bounds checking.

Generated automatically from the source description. Check the sources below before acting.

CVE-2004-0597

Multiple buffer overflows in libpng

Multiple products

At a glance

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via malformed PNG images in which (1) the png_handle_tRNS function does not properly validate the length of transparency chunk (tRNS) data, or the (2) png_handle_sBIT or (3) png_handle_hIST functions do not perform sufficient bounds checking.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

10.0High
Published:
Updated:
EPSS:
81.856%
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:greg_roelofslibpngAffected versions:
≤ 1.2.5
Vendor:microsoftmsn messengerAffected versions:
6.1Show full version range for msn messenger
6.2
Vendor:microsoftwindows media playerAffected versions:
9
Vendor:microsoftwindows messengerAffected versions:
5.0
Vendor:microsoftwindows 98seAffected versions:
Range not specifiedShow full version range for windows 98se
  • Other versions are affected by default; consult the source for exceptions.
Vendor:microsoftwindows meAffected versions:
Range not specifiedShow full version range for windows me
  • Other versions are affected by default; consult the source for exceptions.

1–6 of 6 · Page 1 of 1

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

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

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

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

Sources and advisories45

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