CVE-2017-5340

critical

Description

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.

References

https://security.netapp.com/advisory/ntap-20180112-0001/

https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12

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

https://access.redhat.com/errata/RHSA-2018:1296

http://www.securitytracker.com/id/1037659

http://www.securityfocus.com/bid/95371

Details

Source: Mitre, NVD

Published: 2017-01-11

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical