Read the docs
TI-2016-08236 Aliases CVE-2016-10160GHSA-4jqc-cj54-frf5

Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before…

Priority MEDIUM 52CWE-193Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 8 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-193 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.07381 94th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 8 fixed, 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.6.0 to before 5.6.30; 7.0.0 to before 7.0.15; 7.1.0 to before 7.1.1VulnerablePHP
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.6.0 to before 5.6.30; 7.0.0 to before 7.0.15; 7.1.0 to before 7.1.1 Vulnerable ·PHP
  • cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian

Remediation

Red Hat 1 advisory

  • RHSA-2018:1296 Released 2018-05-03 · Red Hat rating Moderate
    rh-php70-php security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat OpenShift Enterprise 2AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:1296
Not affected: 1 product
  • Red Hat Enterprise Linux 5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-10160
  2. 2026-10-03 Alias added: GHSA-4jqc-cj54-frf5

References

Sources