Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1380450 - (CVE-2016-7568) CVE-2016-7568 gd, php: Integer overflow in gdImageWebpCtx
CVE-2016-7568 gd, php: Integer overflow in gdImageWebpCtx
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160902,repor...
: Security
Depends On: 1380452 1380453
Blocks: 1380454
  Show dependency treegraph
 
Reported: 2016-09-29 12:00 EDT by Adam Mariš
Modified: 2016-10-03 11:06 EDT (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw, leading to a heap-based buffer overflow, was found in gd. A specially crafted image, when converted to webp, could cause the application to crash or potentially execute arbitrary code.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-30 00:08:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-09-29 12:00:19 EDT
An integer overflow vulnerability was found in function gdImageWebpCtx of file gd_webp.c in libgd. It could lead to heap buffer overflow. Both PHP 7.0.10 and libgd 2.2.3 were affected.

PHP bug:

https://bugs.php.net/bug.php?id=73003

PHP patch:

https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6

libgd bug:

https://github.com/libgd/libgd/issues/308

libgd patch:

https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03

CVE assignment:

http://seclists.org/oss-sec/2016/q3/639
Comment 1 Adam Mariš 2016-09-29 12:04:26 EDT
Created gd tracking bugs for this issue:

Affects: fedora-all [bug 1380453]
Comment 2 Adam Mariš 2016-09-29 12:04:37 EDT
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1380452]
Comment 3 Doran Moppert 2016-09-29 23:44:40 EDT
This vulnerability is only present if gd is build against libwebp.  Fedora does so, but no Red Hat Enterprise Linux versions of gd do.

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