ID CVE-2004-0599
Summary Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3) progressive display image reading capability in libpng 1.2.5 and earlier allow remote attackers to cause a denial of service (application crash) via a malformed PNG image.
References
Vulnerable Configurations
  • cpe:2.3:a:greg_roelofs:libpng:1.2.5
    cpe:2.3:a:greg_roelofs:libpng:1.2.5
CVSS
Base: 5.0 (as of 01-01-2004 - 00:00)
Impact:
Exploitability:
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-570.NASL
    description Several integer overflows have been discovered by its upstream developers in libpng, a commonly used library to display PNG graphics. They could be exploited to cause arbitrary code to be executed when a specially crafted PNG image is processed.
    last seen 2019-01-16
    modified 2018-07-20
    plugin id 15668
    published 2004-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=15668
    title Debian DSA-570-1 : libpng - integer overflow
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-571.NASL
    description Several integer overflows have been discovered by its upstream developers in libpng, a commonly used library to display PNG graphics. They could be exploited to cause arbitrary code to be executed when a specially crafted PNG image is processed.
    last seen 2019-01-16
    modified 2018-07-20
    plugin id 15669
    published 2004-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=15669
    title Debian DSA-571-1 : libpng3 - buffer overflows, integer overflow
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2004-223-01.NASL
    description New Mozilla packages are available for Slackware 9.1, 10.0, and -current to fix a number of security issues. Slackware 10.0 and -current were upgraded to Mozilla 1.7.2, and Slackware 9.1 was upgraded to Mozilla 1.4.3. As usual, new versions of Mozilla require new versions of things that link with the Mozilla libraries, so for Slackware 10.0 and -current new versions of epiphany, galeon, gaim, and mozilla-plugins have also been provided. There don't appear to be epiphany and galeon versions that are compatible with Mozilla 1.4.3 and the GNOME in Slackware 9.1, so these are not provided and Epiphany and Galeon will be broken on Slackware 9.1 if the new Mozilla package is installed. Furthermore, earlier versions of Mozilla (such as the 1.3 series) were not fixed upstream, so versions of Slackware earlier than 9.1 will remain vulnerable to these browser issues. If you still use Slackware 9.0 or earlier, you may want to consider removing Mozilla or upgrading to a newer version.
    last seen 2019-01-16
    modified 2013-11-14
    plugin id 18794
    published 2005-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=18794
    title Slackware 10.0 / 9.1 / current : Mozilla (SSA:2004-223-01)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2006-213.NASL
    description Chromium is an OpenGL-based shoot them up game with fine graphics. It is built with a private copy of libpng, and as such could be susceptible to some of the same vulnerabilities : Buffer overflow in the png_decompress_chunk function in pngrutil.c in libpng before 1.2.12 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors related to 'chunk error processing,' possibly involving the 'chunk_name'. (CVE-2006-3334) It is questionable whether this issue is actually exploitable, but the patch to correct the issue has been included in versions < 1.2.12. In addition, an patch to address several old vulnerabilities has been applied to this build. (CVE-2002-1363, CVE-2004-0421, CVE-2004-0597, CVE-2004-0598, CVE-2004-0599) Packages have been patched to correct these issues.
    last seen 2019-01-16
    modified 2018-07-19
    plugin id 24598
    published 2007-02-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24598
    title Mandrake Linux Security Advisory : chromium (MDKSA-2006:213)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1-1.NASL
    description Several integer overflow vulnerabilities were discovered in the PNG library. These vulnerabilities could be exploited by an attacker by providing a specially crafted PNG image which, when processed by the PNG library, could result in the execution of program code provided by the attacker. The PNG library is used by a variety of software packages for different purposes, so the exact nature of the exposure will vary depending on the software involved. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-01-16
    modified 2018-07-19
    plugin id 20484
    published 2006-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=20484
    title Ubuntu 4.10 : PNG library vulnerabilities (USN-1-1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2004-421.NASL
    description Updated mozilla packages based on version 1.4.3 that fix a number of security issues for Red Hat Enterprise Linux are now available. Mozilla is an open source Web browser, advanced email and newsgroup client, IRC chat client, and HTML editor. A number of flaws have been found in Mozilla 1.4 that have been fixed in the Mozilla 1.4.3 release : Zen Parse reported improper input validation to the SOAPParameter object constructor leading to an integer overflow and controllable heap corruption. Malicious JavaScript could be written to utilize this flaw and could allow arbitrary code execution. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0722 to this issue. During a source code audit, Chris Evans discovered a buffer overflow and integer overflows which affect the libpng code inside Mozilla. An attacker could create a carefully crafted PNG file in such a way that it would cause Mozilla to crash or execute arbitrary code when the image was viewed. (CVE-2004-0597, CVE-2004-0599) Zen Parse reported a flaw in the POP3 capability. A malicious POP3 server could send a carefully crafted response that would cause a heap overflow and potentially allow execution of arbitrary code as the user running Mozilla. (CVE-2004-0757) Marcel Boesch found a flaw that allows a CA certificate to be imported with a DN the same as that of the built-in CA root certificates, which can cause a denial of service to SSL pages, as the malicious certificate is treated as invalid. (CVE-2004-0758) Met - Martin Hassman reported a flaw in Mozilla that could allow malicious JavaScript code to upload local files from a users machine without requiring confirmation. (CVE-2004-0759) Mindlock Security reported a flaw in ftp URI handling. By using a NULL character (%00) in a ftp URI, Mozilla can be confused into opening a resource as a different MIME type. (CVE-2004-0760) Mozilla does not properly prevent a frame in one domain from injecting content into a frame that belongs to another domain, which facilitates website spoofing and other attacks, also known as the frame injection vulnerability. (CVE-2004-0718) Tolga Tarhan reported a flaw that can allow a malicious webpage to use a redirect sequence to spoof the security lock icon that makes a webpage appear to be encrypted. (CVE-2004-0761) Jesse Ruderman reported a security issue that affects a number of browsers including Mozilla that could allow malicious websites to install arbitrary extensions by using interactive events to manipulate the XPInstall Security dialog box. (CVE-2004-0762) Emmanouel Kellinis discovered a caching flaw in Mozilla which allows malicious websites to spoof certificates of trusted websites via redirects and JavaScript that uses the 'onunload' method. (CVE-2004-0763) Mozilla allowed malicious websites to hijack the user interface via the 'chrome' flag and XML User Interface Language (XUL) files. (CVE-2004-0764) The cert_TestHostName function in Mozilla only checks the hostname portion of a certificate when the hostname portion of the URI is not a fully qualified domain name (FQDN). This flaw could be used for spoofing if an attacker had control of machines on a default DNS search path. (CVE-2004-0765) All users are advised to update to these erratum packages which contain a snapshot of Mozilla 1.4.3 including backported fixes and are not vulnerable to these issues.
    last seen 2019-01-16
    modified 2018-11-27
    plugin id 14214
    published 2004-08-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14214
    title RHEL 2.1 / 3 : mozilla (RHSA-2004:421)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_F9E3E60BE65011D89B0A000347A4FA7D.NASL
    description Chris Evans has discovered multiple vulnerabilities in libpng, which can be exploited by malicious people to compromise a vulnerable system or cause a DoS (Denial of Service).
    last seen 2019-01-16
    modified 2018-11-23
    plugin id 36897
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36897
    title FreeBSD : libpng stack-based buffer overflow and other code concerns (f9e3e60b-e650-11d8-9b0a-000347a4fa7d)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD20040809.NASL
    description The remote host is missing Security Update 2004-08-09. libpng is a library used for manipulating graphics files. Several buffer overflows have been discovered in libpng. A remote attacker could exploit these vulnerabilities by tricking a user into opening a maliciously crafted PNG file, resulting in the execution of arbitrary code.
    last seen 2019-01-16
    modified 2018-07-14
    plugin id 14242
    published 2004-08-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14242
    title Mac OS X Multiple Vulnerabilities (Security Update 2004-08-09)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2004-082.NASL
    description A number of security vulnerabilities in mozilla are addressed by this update for Mandrakelinux 10.0 users, including a fix for frame spoofing, a fixed popup XPInstall/security dialog bug, a fix for untrusted chrome calls, a fix for SSL certificate spoofing, a fix for stealing secure HTTP Auth passwords via DNS spoofing, a fix for insecure matching of cert names for non-FQDNs, a fix for focus redefinition from another domain, a fix for a SOAP parameter overflow, a fix for text drag on file entry, a fix for certificate DoS, and a fix for lock icon and cert spoofing. Additionally, mozilla for both Mandrakelinux 9.2 and 10.0 have been rebuilt to use the system libjpeg and libpng which addresses vulnerabilities discovered in libpng (ref: MDKSA-2004:079).
    last seen 2019-01-16
    modified 2018-11-15
    plugin id 14331
    published 2004-08-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14331
    title Mandrake Linux Security Advisory : mozilla (MDKSA-2004:082)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2004-223-02.NASL
    description New imagemagick packages are available for Slackware 9.1, 10.0, and -current to fix security issues with PNG images.
    last seen 2018-09-02
    modified 2013-11-14
    plugin id 18749
    published 2005-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=18749
    title Slackware 10.0 / 9.1 / current : imagemagick (SSA:2004-223-02)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200408-22.NASL
    description The remote host is affected by the vulnerability described in GLSA-200408-22 (Mozilla, Firefox, Thunderbird, Galeon, Epiphany: New releases fix vulnerabilities) Mozilla, Galeon, Epiphany, Mozilla Firefox and Mozilla Thunderbird contain the following vulnerabilities: All Mozilla tools use libpng for graphics. This library contains a buffer overflow which may lead to arbitrary code execution. If a user imports a forged Certificate Authority (CA) certificate, it may overwrite and corrupt the valid CA already installed on the machine. Mozilla, Mozilla Firefox, and other gecko-based browsers also contain a bug in their caching which may allow the SSL icon to remain visible, even when the site in question is an insecure site. Impact : Users of Mozilla, Mozilla Firefox, and other gecko-based browsers are susceptible to SSL certificate spoofing, a Denial of Service against legitimate SSL sites, crashes, and arbitrary code execution. Users of Mozilla Thunderbird are susceptible to crashes and arbitrary code execution via malicious e-mails. Workaround : There is no known workaround for most of these vulnerabilities. All users are advised to upgrade to the latest available version.
    last seen 2019-01-16
    modified 2018-08-10
    plugin id 14578
    published 2004-08-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14578
    title GLSA-200408-22 : Mozilla, Firefox, Thunderbird, Galeon, Epiphany: New releases fix vulnerabilities
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-536.NASL
    description Chris Evans discovered several vulnerabilities in libpng : - CAN-2004-0597 Multiple buffer overflows exist, including when handling transparency chunk data, which could be exploited to cause arbitrary code to be executed when a specially crafted PNG image is processed - CAN-2004-0598 Multiple NULL pointer dereferences in png_handle_iCPP() and elsewhere could be exploited to cause an application to crash when a specially crafted PNG image is processed - CAN-2004-0599 Multiple integer overflows in the png_handle_sPLT(), png_read_png() functions and elsewhere could be exploited to cause an application to crash, or potentially arbitrary code to be executed, when a specially crafted PNG image is processed In addition, a bug related to CAN-2002-1363 was fixed : - CAN-2004-0768 A buffer overflow could be caused by incorrect calculation of buffer offsets, possibly leading to the execution of arbitrary code
    last seen 2019-01-16
    modified 2018-08-09
    plugin id 15373
    published 2004-09-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=15373
    title Debian DSA-536-1 : libpng - several vulnerabilities
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2006-212.NASL
    description Doxygen is a documentation system for C, C++ and IDL. It is built with a private copy of libpng, and as such could be susceptible to some of the same vulnerabilities : Buffer overflow in the png_decompress_chunk function in pngrutil.c in libpng before 1.2.12 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors related to 'chunk error processing,' possibly involving the 'chunk_name'. (CVE-2006-3334) It is questionable whether this issue is actually exploitable, but the patch to correct the issue has been included in versions < 1.2.12. Tavis Ormandy, of the Gentoo Linux Security Auditing Team, discovered a typo in png_set_sPLT() that may cause an application using libpng to read out of bounds, resulting in a crash. (CVE-2006-5793) In addition, an patch to address several old vulnerabilities has been applied to this build. (CVE-2002-1363, CVE-2004-0421, CVE-2004-0597, CVE-2004-0598, CVE-2004-0599) Packages have been patched to correct these issues.
    last seen 2019-01-16
    modified 2018-07-19
    plugin id 24597
    published 2007-02-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24597
    title Mandrake Linux Security Advisory : doxygen (MDKSA-2006:212)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2004-402.NASL
    description Updated libpng packages that fix several issues are now available. The libpng package contains a library of functions for creating and manipulating PNG (Portable Network Graphics) image format files. During a source code audit, Chris Evans discovered several buffer overflows in libpng. An attacker could create a carefully crafted PNG file in such a way that it would cause an application linked with libpng to execute arbitrary code when the file was opened by a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0597 to these issues. In addition, this audit discovered a potential NULL pointer dereference in libpng (CVE-2004-0598) and several integer overflow issues (CVE-2004-0599). An attacker could create a carefully crafted PNG file in such a way that it would cause an application linked with libpng to crash when the file was opened by the victim. Red Hat would like to thank Chris Evans for discovering these issues. For users of Red Hat Enterprise Linux 2.1 these patches also include a more complete fix for the out of bounds memory access flaw (CVE-2002-1363). All users are advised to update to the updated libpng packages which contain backported security patches and are not vulnerable to these issues.
    last seen 2019-01-16
    modified 2018-11-15
    plugin id 14213
    published 2004-08-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14213
    title RHEL 2.1 / 3 : libpng (RHSA-2004:402)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2004-079.NASL
    description Chris Evans discovered numerous vulnerabilities in the libpng graphics library, including a remotely exploitable stack-based buffer overrun in the png_handle_tRNS function, dangerous code in png_handle_sBIT, a possible NULL pointer crash in png_handle_iCCP (which is also duplicated in multiple other locations), a theoretical integer overflow in png_read_png, and integer overflows during progressive reading. All users are encouraged to upgrade immediately.
    last seen 2019-01-16
    modified 2018-07-19
    plugin id 14328
    published 2004-08-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14328
    title Mandrake Linux Security Advisory : libpng (MDKSA-2004:079)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2004-222-01.NASL
    description New libpng packages are available for Slackware 8.1, 9.0, 9.1, 10.0, and -current to fix security issues. These issues could cause program crashes, or possibly allow arbitrary code embedded in a malicious PNG image to execute. The PNG library is widely used within the system, so all sites should upgrade to the new libpng package.
    last seen 2019-01-16
    modified 2013-11-14
    plugin id 18781
    published 2005-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=18781
    title Slackware 10.0 / 8.1 / 9.0 / 9.1 / current : libpng (SSA:2004-222-01)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200408-03.NASL
    description The remote host is affected by the vulnerability described in GLSA-200408-03 (libpng: Numerous vulnerabilities) libpng contains numerous vulnerabilities including NULL pointer dereference errors and boundary errors in various functions. Impact : An attacker could exploit these vulnerabilities to cause programs linked against the library to crash or execute arbitrary code with the permissions of the user running the vulnerable program, which could be the root user. Workaround : There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.
    last seen 2019-01-16
    modified 2018-08-10
    plugin id 14559
    published 2004-08-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14559
    title GLSA-200408-03 : libpng: Numerous vulnerabilities
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_LIBPNG_1257.NASL
    description The following package needs to be updated: firefox
    last seen 2016-09-26
    modified 2004-08-06
    plugin id 14216
    published 2004-08-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14216
    title FreeBSD : libpng stack-based buffer overflow and other code concerns (94)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SA_2004_023.NASL
    description The remote host is missing the patch for the advisory SUSE-SA:2004:023 (libpng). Several different security vulnerabilities were found in the PNG library which is used by applications to support the PNG image format. A remote attacker would be able to execute arbitrary code by triggering a buffer overflow due to the incorrect handling of the length of transparency chunk data and in other pathes of image processing. A special PNG image can be used to cause an application crashing due to NULL pointer dereference in the function png_handle_iCPP() (and other locations). Integer overflows were found in png_handle_sPLT(), png_read_png() functions and other locations. These bugs may at least crash an application.
    last seen 2019-01-16
    modified 2013-11-14
    plugin id 14206
    published 2004-08-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=14206
    title SUSE-SA:2004:023: libpng
oval via4
  • accepted 2013-04-29T04:10:06.497-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 3
      oval oval:org.mitre.oval:def:11782
    • comment CentOS Linux 3.x
      oval oval:org.mitre.oval:def:16651
    description Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3) progressive display image reading capability in libpng 1.2.5 and earlier allow remote attackers to cause a denial of service (application crash) via a malformed PNG image.
    family unix
    id oval:org.mitre.oval:def:10938
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3) progressive display image reading capability in libpng 1.2.5 and earlier allow remote attackers to cause a denial of service (application crash) via a malformed PNG image.
    version 26
  • accepted 2005-03-09T07:56:00.000-04:00
    class vulnerability
    contributors
    name Brian Soby
    organization The MITRE Corporation
    description Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3) progressive display image reading capability in libpng 1.2.5 and earlier allow remote attackers to cause a denial of service (application crash) via a malformed PNG image.
    family unix
    id oval:org.mitre.oval:def:1479
    status accepted
    submitted 2004-12-12T12:00:00.000-04:00
    title Integer Overflow in libpng via Malformed PNG Image
    version 31
redhat via4
advisories
  • rhsa
    id RHSA-2004:402
  • rhsa
    id RHSA-2004:421
  • rhsa
    id RHSA-2004:429
refmap via4
apple APPLE-SA-2004-09-09
bid
  • 10857
  • 15495
bugtraq 20040804 [OpenPKG-SA-2004.035] OpenPKG Security Advisory (png)
cert TA04-217A
cert-vn
  • VU#160448
  • VU#286464
  • VU#477512
conectiva CLA-2004:856
confirm http://www.mozilla.org/projects/security/known-vulnerabilities.html
debian
  • DSA-536
  • DSA-570
  • DSA-571
fedora
  • FLSA:1943
  • FLSA:2089
gentoo
  • GLSA-200408-03
  • GLSA-200408-22
hp SSRT4778
mandrake MDKSA-2004:079
mandriva
  • MDKSA-2006:212
  • MDKSA-2006:213
misc http://scary.beasts.org/security/CESA-2004-001.txt
sco
  • SCOSA-2004.16
  • SCOSA-2005.49
secunia
  • 22957
  • 22958
sunalert 200663
suse SUSE-SA:2004:023
trustix 2004-0040
xf lilbpng-integer-bo(16896)
Last major update 17-10-2016 - 22:46
Published 23-11-2004 - 00:00
Last modified 10-10-2017 - 21:29
Back to Top