Bug 1418986 (CVE-2016-10168) - CVE-2016-10168 gd: Integer overflow in gd_io.c
Summary: CVE-2016-10168 gd: Integer overflow in gd_io.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-10168
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: 1418991 1418992 1497888 1497889 1554540 1563118
Blocks: 1417990
TreeView+ depends on / blocked
 
Reported: 2017-02-03 11:12 UTC by Adam Mariš
Modified: 2021-03-11 14:56 UTC (History)
16 users (show)

Fixed In Version: gd 2.2.4, php 5.6.30, php 7.0.15, php 7.1.1
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw, leading to a heap-based buffer overflow was found in the way libgd read some specially-crafted gd2 files. A remote attacker could use this flaw to crash an application compiled with libgd or in certain cases execute arbitrary code with the privileges of the user running that application.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:07:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3221 0 normal SHIPPED_LIVE Moderate: php security update 2017-11-15 11:01:20 UTC
Red Hat Product Errata RHSA-2018:1296 0 None None None 2018-05-03 05:06:10 UTC

Description Adam Mariš 2017-02-03 11:12:10 UTC
An integer overflow in gd_io.c was found.

Upstream patch:

https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6

PHP bug:

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

CVE assignment:

http://www.openwall.com/lists/oss-security/2017/01/28/6

Comment 1 Adam Mariš 2017-02-03 11:33:36 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1418991]

Comment 2 Adam Mariš 2017-02-03 11:33:50 UTC
Created libwmf tracking bugs for this issue:

Affects: fedora-all [bug 1418992]

Comment 6 errata-xmlrpc 2017-11-15 05:01:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:3221 https://access.redhat.com/errata/RHSA-2017:3221

Comment 12 errata-xmlrpc 2018-05-03 05:06:00 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296


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