blob: f799484eefec97736c019d84e573db324980bcde [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200405-06">
<title>libpng denial of service vulnerability</title>
A bug in the libpng library can be abused to crash programs making use of
that library to decode PNG images.
<product type="ebuild">libpng</product>
<announced>May 14, 2004</announced>
<revised>May 14, 2004: 01</revised>
<access>remote </access>
<package name="media-libs/libpng" auto="yes" arch="*">
<unaffected range="ge">1.2.5-r5</unaffected>
<vulnerable range="le">1.2.5-r4</vulnerable>
libpng is a standard library used to process PNG (Portable Network
Graphics) images.
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 type="normal">
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.
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"</code>
You should also run revdep-rebuild to rebuild any packages that depend on
older versions of libpng :
# revdep-rebuild</code>
<uri link="">CAN-2004-0421</uri>
<metadata tag="submitter">