cve.bz

CVE-2016-10160 Off-by-one Error

9.8 criticalEPSS 7.4%Fix available

Critical (9.8). EPSS 7.4% estimated probability of exploitation activity in the next 30 days.

On this page
Off-by-one error 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 corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.4% (unchanged from 7.4% a week ago; 7.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-10160 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-10160?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-10160?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-10160 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpfrom 5.6.0 before 5.6.30
php:phpfrom 7.0.0 before 7.0.15
php:phpfrom 7.1.0 before 7.1.1
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7php55.4.45-0+deb7u7DLA-818-1
Debian8php55.6.30+dfsg-0+deb8u1DSA-3783-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.21UBUNTU-CVE-2016-10160 USN-3196-1
Ubuntu16.04:LTSphp7.07.0.15-0ubuntu0.16.04.2UBUNTU-CVE-2016-10160 USN-3211-1
Red Hatrhel_software_collections:3::el6rh-php70-php, rh-php70-php-gd, rh-php70-php-cli and 29 more0:7.0.27-1.el6RHSA-2018:1296
Red Hatrhel_software_collections:3::el7rh-php70-php, rh-php70-php-gd, rh-php70-php-cli and 27 more0:7.0.27-1.el7RHSA-2018:1296
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1, Linux Enterprise Software Development Kit 12 SP2php55.5.14-96.1SUSE-SU-2017:0556-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1, Linux Enterprise Software Development Kit 12 SP2php77.0.7-35.1SUSE-SU-2017:0534-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 6 morephp535.3.17-101.1SUSE-SU-2017:0568-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php70-php-0:7.0.27-1.el6Fixed 2018-05-03RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php70-php-0:7.0.27-1.el6Fixed 2018-05-03RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php70-php-0:7.0.27-1.el7Fixed 2018-05-03RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-php70-php-0:7.0.27-1.el7Fixed 2018-05-03RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-php70-php-0:7.0.27-1.el7Fixed 2018-05-03RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php70-php-0:7.0.27-1.el7Fixed 2018-05-03RHSA-2018:1296
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Will not fix
Red Hat Enterprise Linux 6phpWill not fix
Red Hat Enterprise Linux 7phpWill not fix
Red Hat OpenShift Enterprise 2phpWill not fix
Red Hat Software Collectionsrh-php56-phpWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-10160.

References

Check your stackJSON