Bug 1417987 (CVE-2016-9317) - CVE-2016-9317 gd: Missing check for oversized images in gdImageCreate()
Summary: CVE-2016-9317 gd: Missing check for oversized images in gdImageCreate()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-9317
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1418992
Blocks: 1417990
TreeView+ depends on / blocked
 
Reported: 2017-01-31 14:37 UTC by Adam Mariš
Modified: 2019-09-29 14:05 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-05 06:33:39 UTC


Attachments (Terms of Use)

Description Adam Mariš 2017-01-31 14:37:45 UTC
The gdImageCreate function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (system hang) via an oversized image.

Upstream patch:

https://github.com/libgd/libgd/commit/1846f48e5fcdde996e7c27a4bbac5d0aef183e4b

Comment 1 Adam Mariš 2017-02-03 11:32:29 UTC
Created libwmf tracking bugs for this issue:

Affects: fedora-all [bug 1418992]

Comment 2 Carl Song 2017-05-31 15:17:09 UTC
There has been no movement on this issue for four months. Is this going to be worked on?

Comment 3 Huzaifa S. Sidhpurwala 2017-06-07 06:08:36 UTC
(In reply to Carl Song from comment #2)
> There has been no movement on this issue for four months. Is this going to
> be worked on?

Still working on this one, should have the affects by the end of this week.

Comment 4 Huzaifa S. Sidhpurwala 2018-04-01 02:15:29 UTC
The previous upstream patch described in comment #0 just adds whitespaces to the code. It seems like the actual patch is at:

https://github.com/libgd/libgd/commit/c3cf674cb444696a36f720f785878b41225af063#diff-2ebe418bf93ac39773a117e4b38fe86a


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