An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expression functions when supplied with invalid multibyte data. These occur in ext/mbstring/oniguruma/regcomp.c, ext/mbstring/oniguruma/regexec.c, ext/mbstring/oniguruma/regparse.c, ext/mbstring/oniguruma/enc/unicode.c, and ext/mbstring/oniguruma/src/utf32be.c when a multibyte regular expression pattern contains invalid multibyte sequences.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-based buffer over-read in PHAR reading functions in the PHAR extension may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse the file name, a different vulnerability than CVE-2018-20783. This is related to phardetectpharfnameext in ext/phar/phar.c.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. Invalid input to the function xmlrpcdecode() can lead to an invalid memory access (heap out of bounds read or read after free). This is related to xmlelemparsebuf in ext/xmlrpc/libxmlrpc/xmlelement.c.
apachemodphp. This issue was addressed by updating to php version 7.1.16.
ext/standard/varunserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
Upstream patch:
https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4
Upstream bug:
https://bugs.php.net/bug.php?id=74103
Fixed bug (Stack Buffer Overflow in msgfmtparsemessage). (CVE-2017-11362)
Fixed bug (Heap buffer overread (READ: 1) finishnesteddata from unserialize). (CVE-2017-12933)
Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)
Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)
Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)
Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)
Last updated 24 July 2024
Fixed bug (Seg fault when loading hostile phar). (CVE-2017-11147)
Fixed bug (Memory corruption when loading hostile phar). (CVE-2016-10160)
Fixed bug (Unserialize use-after-free when resizing object's properties hash table). (CVE-2016-7479)
Fixed bug (Use of uninitialized memory in unserialize()). (CVE-2017-5340)
A use-after-free vulnerability was found in unserialize().
Upstream bug:
https://bugs.php.net/bug.php?id=72978
Upstream patch:
https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17
CVE assignment:
http://seclists.org/oss-sec/2016/q4/658
An invalid read occurs when wddx decodes empty boolean element, leading to arbitrary memory read or crash.
Upstream bug:
https://bugs.php.net/bug.php?id=73631
Upstream patch:
https://github.com/php/php-src/commit/66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0
CVE assignment:
http://seclists.org/oss-sec/2016/q4/658
Fixed bug (wddxdeserialize use-after-free). (CVE-2016-7413)
ext/spl/splarray.c in PHP before 5.6.26 and 7.x before 7.0.11 proceeds with SplArray unserialization without validating a return value and data type, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data.
An out-of-bounds heap read was found in pharparsezipfile due to not checking entry.uncompressedfilesize.
Upstream bug:
https://bugs.php.net/bug.php?id=72928
Upstream patch:
https://github.com/php/php-src/commit/0bfb970f43acd1e81d11be1154805f86655f15d5?w=1
CVE assignment:
http://seclists.org/oss-sec/2016/q3/518
Fixed bug (wddxdeserialize allows illegal memory access). (CVE-2016-7129)
Fixed bug (imagegammacorrect allows arbitrary write access). (CVE-2016-7127)
Fixed bug (selectcolors write out-of-bounds). (CVE-2016-7126)
ext/standard/varunserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) destruct call or (2) magic method call.
Fixed bug (heap-buffer-overflow (write) simplestringaddn simplestring.c). (CVE-2016-6296)
A use-after-free vulnerability in with GC and unserialize() was found.
Upstream bug:
https://bugs.php.net/bug.php?id=72479
Upstream patch:
http://git.php.net/?p=php-src.git;a=commit;h=cab1c3b3708eead315e033359d07049b23b147a3
CVE assignment:
http://seclists.org/oss-sec/2016/q3/137
Calling to ulocacceptLanguageFromHTTP with parameter size "httpAcceptLanguage" equal or greater than ULOCFULLNAMECAPACITY + 1, the local variable "tmp" might leave unterminated. ulocacceptLanguageFromHTTP doesn’t check status result after call to uloccanonicalize. This might cause stack data leak.
PHP bug:
https://bugs.php.net/bug.php?id=72533
PHP fix:
http://git.php.net/?p=php-src.git;a=commit;h=aa82e99ed8003c01f1ef4f0940e56b85c5b032d4
CVE assignment:
http://seclists.org/oss-sec/2016/q3/137
An out-of-bounds access due to lack of size check of buffer may lead to memory buffer overflow.
Upstream bug:
https://bugs.php.net/bug.php?id=72603
Upstream patch:
http://git.php.net/?p=php-src.git;a=commit;h=eebcbd5de38a0f1c2876035402cb770e37476519
CVE assignment:
http://seclists.org/oss-sec/2016/q3/137
A use-after-free vulnerability was found in unserialize() with Unexpected Session Deserialization.
Upstream bug:
https://bugs.php.net/bug.php?id=72562
Upstream patch:
http://git.php.net/?p=php-src.git;a=commit;h=3798eb6fd5dddb211b01d41495072fd9858d4e32
CVE assignment:
http://seclists.org/oss-sec/2016/q3/137