CVE-2016-10159
Vulnerability Summary
Timeline
Description
Integer overflow in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory consumption or application crash) via a truncated manifest entry in a PHAR archive.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 14.19%• Percentile: 95%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
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.
Affected Systems
- debian•debian_linux
8.0
- Unknown•PHP
≤ 5.6.29 | ≥ 7.0.0, < 7.0.15 | 7.1.0
References (11)
- https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93
- https://access.redhat.com/errata/RHSA-2018:1296
- http://php.net/ChangeLog-5.php
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.tenable.com/security/tns-2017-04
- http://www.debian.org/security/2017/dsa-3783
- https://security.gentoo.org/glsa/201702-29
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/95774
- http://www.securitytracker.com/id/1037659
- https://bugs.php.net/bug.php?id=73764