Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384247 (CVE-2011-3328) - =media-libs/libpng-1.5.4 "png_handle_cHRM()" Division By Zero DoS (CVE-2011-3328)
Summary: =media-libs/libpng-1.5.4 "png_handle_cHRM()" Division By Zero DoS (CVE-2011-3...
Status: RESOLVED FIXED
Alias: CVE-2011-3328
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://secunia.com/advisories/46148/
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 21:13 UTC by Agostino Sarubbo
Modified: 2012-02-21 03:55 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 2011-09-23 21:13:41 UTC
Form secunia security advisory at $URL:

Description:
The vulnerability is caused due to a division by zero within the "png_handle_cHRM()" function (libpng/pngrutil.c) when processing certain cHRM chunks and can be exploited to cause a crash via specially crafted PNG files.

The vulnerability is reported in version 1.5.4. Prior versions are not affected.

Solution
Update to version 1.5.5.
Comment 1 SpanKY gentoo-dev 2011-09-24 05:47:35 UTC
libpng-1.5.5 is in the tree now
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-09-24 05:51:08 UTC
(In reply to comment #1)
> libpng-1.5.5 is in the tree now

1.5.4-r1 was committed yesterday for this CVE (told xarthisius to do that on Freenode) so we have been good since yesterday

Thanks for 1.5.5 in any case :-)
Comment 3 Agostino Sarubbo gentoo-dev 2011-09-24 08:20:59 UTC
Thanks ssuominen, vapier, xarthisius.

As per ~3 closing as noglsa.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2012-02-21 03:55:34 UTC
CVE-2011-3328 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-3328):
  The png_handle_cHRM function in pngrutil.c in libpng 1.5.4, when
  color-correction support is enabled, allows remote attackers to cause a
  denial of service (divide-by-zero error and application crash) via a
  malformed PNG image containing a cHRM chunk associated with a certain zero
  value.