Bug 1315339 (CVE-2016-4344, CVE-2016-4345, CVE-2016-4346) - CVE-2016-4344 CVE-2016-4345 CVE-2016-4346 php: Multiple heap overflows due to integer overflows
Summary: CVE-2016-4344 CVE-2016-4345 CVE-2016-4346 php: Multiple heap overflows due to...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-4344, CVE-2016-4345, CVE-2016-4346
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: 1315340
Blocks: 1315348
TreeView+ depends on / blocked
 
Reported: 2016-03-07 13:50 UTC by Adam Mariš
Modified: 2019-09-29 13:45 UTC (History)
13 users (show)

Fixed In Version: php 7.0.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-13 18:22:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-03-07 13:50:24 UTC
Multiple heap-based buffer overflow caused by integer overflows were found in xml_utf8_encode, zend_string_alloc and php_addcslashes functions.

Upstream bug:

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

Upstream patch:

http://git.php.net/?p=php-src.git;a=commit;h=57b997ebf99e0eb9a073e0dafd2ab100bd4a112d

Comment 1 Adam Mariš 2016-03-07 13:51:11 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1315340]

Comment 2 Andrej Nemec 2016-05-02 14:39:20 UTC
CVE assignments via:

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

CVE-2016-4344 is for the issue in:

ext/xml/xml.c

CVE-2016-4345 is for the issue in:

ext/filter/sanitizing_filters.c

CVE-2016-4346 is for the issue in:

ext/standard/string.c

Comment 3 Tomas Hoger 2016-06-13 18:22:27 UTC
PHP 7 only.  Additionally, these issue could only be triggered when PHP is configured to execute scripts with no or very high memory_limit.  That is not a typical configured, the default in PHP packages in Red Hat products is 128M.


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