Am I affected?
CVE-2016-10159
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.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 7.62% chance of exploitation activity in the next 30 days (top 6% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 7.1 | PHP 7.1 only, 7.1.0 exactly | not stated |
| PHP 7.0 | 7.0.0 (including) to 7.0.15 (excluding) | 7.0.15 |
| PHP 5.6 | PHP 5.6 only, before 5.6.29 (including that release) | not stated |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2017-12933 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-08-18
- CVE-2017-9224 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2017-9226 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2017-9227 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2017-9228 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-05-24
- CVE-2016-10160 Critical 9.8 · PHP 7.1, 7.0, 5.6 · 2017-01-24
Questions
- Which PHP versions are affected by CVE-2016-10159?
- NVD lists these affected ranges: PHP 7.1 only, 7.1.0 exactly; 7.0.0 (including) to 7.0.15 (excluding); PHP 5.6 only, before 5.6.29 (including that release).
- Which PHP version fixes CVE-2016-10159?
- According to NVD, the fix is in PHP 7.0.15 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2016-10159?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2016-10159 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.