Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-10160

php: Off-by-one error in phar_parse_pharfile when loading crafted phar archive

Overview

Published
24 Jan 2017
Modified
13 May 2026
Critical CVE
0 Registry packages
54 OS packages
1 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Weakness: CWE-193

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 2 fixes

Red Hat 1 release · 2 packages

wont fix 1 fixed 1
php rh-php70-php
Red Hat fixes for CVE-2016-10160
ReleasePackageFixed inAdvisory
7 php +24 wont fix —
7 rh-php70-php +28 0:7.0.27-1.el7 RHSA-2018:1296

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.