blob: d304d0d7c458484364c84b4047aa61f7af6682f1 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200407-06">
<title>libpng: Buffer overflow on row buffers</title>
libpng contains a buffer overflow vulnerability potentially allowing an
attacker to perform a Denial of Service attack or even execute arbitrary
<product type="ebuild">libpng</product>
<announced>July 08, 2004</announced>
<revised>July 08, 2004: 01</revised>
<package name="media-libs/libpng" auto="yes" arch="*">
<unaffected range="ge">1.2.5-r7</unaffected>
<vulnerable range="le">1.2.5-r6</vulnerable>
libpng is a standard library used to process PNG (Portable Network
Graphics) images. It is used by several other programs, including web
browsers and potentially server processes.
Due to a wrong calculation of loop offset values, libpng contains a buffer
overflow vulnerability on the row buffers. This vulnerability was initially
patched in January 2003 but since it has been discovered that libpng
contains the same vulnerability in two other places.
<impact type="normal">
An attacker could exploit this vulnerability 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.
There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version.
All libpng users should upgrade to the latest stable version:
# emerge sync
# emerge -pv ">=media-libs/libpng-1.2.5-r7"
# emerge ">=media-libs/libpng-1.2.5-r7"</code>
You should also run revdep-rebuild to rebuild any packages that depend on
older versions of libpng :
# revdep-rebuild</code>
<uri link="">CAN-2002-1363</uri>
<metadata tag="submitter">