Out-of-bounds read in libpng - CVE-2004-0421

 

Out-of-bounds read in libpng - CVE-2004-0421

Published: September 10, 2024


Vulnerability identifier: #VU96991
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2004-0421
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary condition. A remote attacker can create a specially crafted PNG file, trick the victim into opening it, trigger an out-of-bounds read error and crash the application.


Affected software

libpng
Fedora
Slackware Linux
openEuler
libpng10
mingw32-libpng
libpng
syslinux
syslinux-extlinux-nonlinux
syslinux-nonlinux
syslinux-tftpboot
syslinux-debuginfo
syslinux-debugsource
syslinux-devel
syslinux-efi64
syslinux-extlinux
syslinux-perl

How to mitigate CVE-2004-0421

Install updates from vendor's website.

libpng - update to 1.0.16
libpng10 - update to 1.0.55-1.el6
mingw32-libpng - addressed in versions 1.2.37-2.el5, 1.2.37-3.el6
libpng - addressed in versions 1.2.46, 1.4.8
syslinux - update to 6.04-16
syslinux-extlinux-nonlinux - update to 6.04-16
syslinux-nonlinux - update to 6.04-16
syslinux-tftpboot - update to 6.04-16
syslinux-debuginfo - update to 6.04-16
syslinux-debugsource - update to 6.04-16
syslinux-devel - update to 6.04-16
syslinux-efi64 - update to 6.04-16
syslinux-extlinux - update to 6.04-16
syslinux-perl - update to 6.04-16

External References

Related Security Bulletins