Bug 1476300 (CVE-2017-11722) - CVE-2017-11722 GraphicsMagick: Out-of-bounds read in the WriteOnePNGImage function
Summary: CVE-2017-11722 GraphicsMagick: Out-of-bounds read in the WriteOnePNGImage fun...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-11722
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1475494 1475495
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-28 14:51 UTC by Andrej Nemec
Modified: 2019-09-29 14:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:19:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-07-28 14:51:06 UTC
The WriteOnePNGImage function in coders/png.c in GraphicsMagick 1.3.26 allows attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted file, because the program's actual control flow was inconsistent with its indentation. This resulted in a logging statement executing outside of a loop, and consequently using an invalid array index corresponding to the loop's exit condition.

Upstream patch:

http://hg.code.sf.net/p/graphicsmagick/code/rev/f423ba88ca4e

Comment 1 Andrej Nemec 2017-07-28 14:51:45 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1475494]
Affects: fedora-all [bug 1475495]

Comment 2 Product Security DevOps Team 2019-06-08 03:19:17 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.