Zend/zend_hash.c in PHP before 7.0.15 and 7.1.x before 7.1.1 mishandles certain cases that require large array allocations, which allows remote attackers to execute arbitrary code or cause a denial of service (integer overflow, uninitialized memory access, and use of arbitrary destructor function pointers) via crafted serialized data.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12 | third party advisory patch |
https://access.redhat.com/errata/RHSA-2018:1296 | third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20180112-0001/ | third party advisory |
http://www.securityfocus.com/bid/95371 | vdb entry third party advisory |
https://bugs.php.net/bug.php?id=73832 | issue tracking vendor advisory exploit vdb entry |
http://www.securitytracker.com/id/1037659 | vdb entry third party advisory |