Bug 1340433 (CVE-2013-7456) - CVE-2013-7456 gd: incorrect boundary adjustment in _gdContributionsCalc
Summary: CVE-2013-7456 gd: incorrect boundary adjustment in _gdContributionsCalc
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-7456
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:
Blocks: 1339953
TreeView+ depends on / blocked
 
Reported: 2016-05-27 11:49 UTC by Adam Mariš
Modified: 2019-09-29 13:50 UTC (History)
16 users (show)

Fixed In Version: gd 2.1.1, php 5.5.36, php 5.6.22, php 7.0.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-08 11:58:32 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2750 normal SHIPPED_LIVE Moderate: rh-php56 security, bug fix, and enhancement update 2016-11-15 16:40:02 UTC

Description Adam Mariš 2016-05-27 11:49:02 UTC
An out-of-bounds read in imagescale function was found that can cause crash of application.

Upstream bug (php):

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

Upstream patch:

libgd: https://github.com/libgd/libgd/commit/4f65a3e4eedaffa1efcf9ee1eb08f0b504fbc31a
php: https://git.php.net/?p=php-src.git;a=commit;h=7a1aac3343af85b4af4df5f8844946eaa27394ab

CVE assignment:

http://seclists.org/oss-sec/2016/q2/412

Comment 1 Tomas Hoger 2016-06-06 20:07:34 UTC
imagescale() function was only introduced in PHP 5.5, hence older are not affected.

Comment 2 Tomas Hoger 2016-06-08 11:58:32 UTC
This is a limited 8 byte (sizeof(double)) buffer over-read.  In standard non-ASAN builds, it's very unlikely to cause crash.  This does not have any real practical impact.

Comment 3 errata-xmlrpc 2016-11-15 11:53:25 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.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2016:2750 https://rhn.redhat.com/errata/RHSA-2016-2750.html


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