GLSA-200405-06 : libpng denial of service vulnerability

medium Nessus Plugin ID 14492
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200405-06 (libpng denial of service vulnerability)

libpng provides two functions (png_chunk_error and png_chunk_warning) for default error and warning messages handling. These functions do not perform proper bounds checking on the provided message, which is limited to 64 bytes. Programs linked against this library may crash when handling a malicious PNG image.
Impact :

This vulnerability could be used to crash various programs using the libpng library, potentially resulting in a denial of service attack on vulnerable daemon processes.
Workaround :

There is no known workaround at this time. All users are advised to upgrade to the latest available version of libpng.


All users of libpng should upgrade to the latest stable version:
# emerge sync # emerge -pv '>=media-libs/libpng-1.2.5-r5' # emerge '>=media-libs/libpng-1.2.5-r5' You should also run revdep-rebuild to rebuild any packages that depend on older versions of libpng :
# revdep-rebuild

See Also

Plugin Details

Severity: Medium

ID: 14492

File Name: gentoo_GLSA-200405-06.nasl

Version: 1.13

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Low

Score: 3.6


Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libpng, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 5/14/2004

Reference Information

CVE: CVE-2004-0421

GLSA: 200405-06