Bug 977993 - (CVE-2016-4344) VUL-0: CVE-2016-4344: php: heap overflow in ext/xml/xml.c
(CVE-2016-4344)
VUL-0: CVE-2016-4344: php: heap overflow in ext/xml/xml.c
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P2 - High : Normal
: ---
Assigned To: Petr Gajdos
Security Team bot
https://smash.suse.de/issue/168405/
CVSSv2:RedHat:CVE-2016-4346:4.3:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-02 08:18 UTC by Sebastian Krahmer
Modified: 2016-05-04 09:24 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Petr Gajdos 2016-05-02 14:53:40 UTC
https://bugs.php.net/bug.php?id=71637
Comment 2 Petr Gajdos 2016-05-03 12:56:57 UTC
xml_utf8_encode() uses safe_malloc() before 7.0.

Testcase:

<?php
//1.php
ini_set('memory_limit',-1);
utf8_encode(str_repeat("A",(0xffffffff/4)+0x1000));
?>