blob: 9914eaa10272c73a09b9b9577da7f5c2a6a83b12 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<glsa id="201206-15">
<title>libpng: Multiple vulnerabilities</title>
<synopsis>Multiple vulnerabilities in libpng might allow remote attackers to
execute arbitrary code or cause a Denial of Service condition.
<product type="ebuild">libpng</product>
<announced>June 22, 2012</announced>
<revised>June 06, 2015: 4</revised>
<package name="media-libs/libpng" auto="yes" arch="*">
<unaffected range="ge">1.5.10</unaffected>
<unaffected range="rge">1.2.49</unaffected>
<unaffected range="rge">1.2.50</unaffected>
<unaffected range="rge">1.2.51</unaffected>
<unaffected range="rge">1.2.52</unaffected>
<unaffected range="rge">1.2.53</unaffected>
<unaffected range="rge">1.2.54</unaffected>
<unaffected range="rge">1.2.55</unaffected>
<unaffected range="rge">1.2.56</unaffected>
<vulnerable range="lt">1.5.10</vulnerable>
<p>libpng is a standard library used to process PNG (Portable Network
Graphics) images. It is used by several programs, including web browsers
and potentially server processes.
<p>Multiple vulnerabilities have been discovered in libpng:</p>
<li>The “embedded_profile_len()” function in pngwutil.c does not
check for negative values, resulting in a memory leak (CVE-2009-5063).
<li>The “png_format_buffer()” function in pngerror.c contains an
off-by-one error (CVE-2011-2501).
<li>The “png_rgb_to_gray()” function in pngrtran.c contains an
integer overflow error (CVE-2011-2690).
<li>The “png_err()” function in pngerror.c contains a NULL pointer
dereference error (CVE-2011-2691).
<li>The “png_handle_sCAL()” function in pngrutil.c improperly handles
malformed sCAL chunks(CVE-2011-2692).
<li>The “png_decompress_chunk()” function in pngrutil.c contains an
integer overflow error (CVE-2011-3026).
<li>The “png_inflate()” function in pngrutil.c contains and out of
bounds error (CVE-2011-3045).
<li>The “png_set_text_2()” function in pngset.c contains an error
which could result in memory corruption (CVE-2011-3048).
<li>The “png_formatted_warning()” function in pngerror.c contains an
off-by-one error (CVE-2011-3464).
<impact type="normal">
<p>An attacker could exploit these vulnerabilities to execute arbitrary
code with the permissions of the user running the vulnerable program,
which could be the root user, or to cause programs linked against the
library to crash.
<p>There is no known workaround at this time.</p>
<p>All libpng 1.5 users should upgrade to the latest version:</p>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=media-libs/libpng-1.5.10"
<p>All libpng 1.2 users should upgrade to the latest version:</p>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=media-libs/libpng-1.2.49"
<p>Packages which depend on this library may need to be recompiled. Tools
such as revdep-rebuild may assist in identifying some of these packages.
<uri link="">CVE-2009-5063</uri>
<uri link="">CVE-2011-2501</uri>
<uri link="">CVE-2011-2690</uri>
<uri link="">CVE-2011-2691</uri>
<uri link="">CVE-2011-2692</uri>
<uri link="">CVE-2011-3026</uri>
<uri link="">CVE-2011-3045</uri>
<uri link="">CVE-2011-3048</uri>
<uri link="">CVE-2011-3464</uri>
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:07 +0000">
<metadata tag="submitter" timestamp="Sat, 06 Jun 2015 23:37:53 +0000">ackle</metadata>