Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494948 (CVE-2013-6954) - <media-libs/libpng-1.6.8: unhandled zero-length PLTE chunk or NULL palette (CVE-2013-6954)
Summary: <media-libs/libpng-1.6.8: unhandled zero-length PLTE chunk or NULL palette (C...
Status: RESOLVED FIXED
Alias: CVE-2013-6954
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-21 13:37 UTC by Agostino Sarubbo
Modified: 2014-01-24 14:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-12-21 13:37:38 UTC
From ${URL} :

libpng 1.6.8 was released [1] and notes the following fix:

Handle zero-length PLTE chunk or NULL palette with png_error() instead of png_chunk_report(), which 
by default issues a warning rather than an error, leading to later reading from a NULL pointer 
(png_ptr->palette) in png_do_expand_palette(). This is CVE-2013-6954 and VU#650142.

The git commit to fix is available [3].

[1] http://sourceforge.net/projects/libpng/files/libpng16/1.6.8/Gnupg/
[2] http://www.kb.cert.org/vuls/id/650142
[3] http://sourceforge.net/p/libpng/code/ci/1faa6ff32c648acfe3cf30a58d31d7aebc24968c


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-12-21 16:06:10 UTC
1.6.8 is now in Portage with a fix to this, but since this never affected the 1.5.x series which is the current stable, there is no stabilization required at this time

so I believe this should be closed as resolved, fixed now?
Comment 2 Agostino Sarubbo gentoo-dev 2013-12-21 16:12:11 UTC
(In reply to Samuli Suominen from comment #1)
> so I believe this should be closed as resolved, fixed now?

Yes, thanks.
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2014-01-24 14:33:40 UTC
CVE-2013-6954 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-6954):
  The png_do_expand_palette function in libpng before 1.6.8 allows remote
  attackers to cause a denial of service (NULL pointer dereference and
  application crash) via (1) a PLTE chunk of zero bytes or (2) a NULL palette,
  related to pngrtran.c and pngset.c.