PHP phar_parse_pharfile off-by-one error leading to denial of service or arbitrary code execution
Multiple products
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 7.381%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≥ 5.6.0, < 5.6.30Show full version range for php≥ 7.0.0, < 7.0.15≥ 7.1.0, < 7.1.1 |
| Vendor:Debian | debian linux | Affected versions: 8.0 |
| Vendor:redhat | phpEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php
|
| Vendor:redhat | php-bcmathEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-bcmath
|
| Vendor:redhat | php-cliEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-cli
|
| Vendor:redhat | php-commonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-common
|
| Vendor:redhat | php-dbaEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-dba
|
| Vendor:redhat | php-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-devel
|
| Vendor:redhat | php-embeddedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-embedded
|
| Vendor:redhat | php-enchantEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-enchant
|
1–10 of 374 · Page 1 of 38
CVSS scores and metrics10
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-10160 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat · Wazuh CTI (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lalas · Wazuh CTI (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LRed Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories29
- cve.org
- NVD
- OSV
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- debian.org
- security.gentoo.org
- security.netapp.com
- securityfocus.com
- securitytracker.com
- tenable.com
- bugs.php.net
- github.com
- php.net
- access.redhat.com
- php.net
- SUSE CVE-2016-10160
- SUSE-SU-2017:0534-1
- SUSE-SU-2017:0556-1
- SUSE-SU-2017:0568-1
- openSUSE-SU-2017:0588-1
- ubuntu.com
- ubuntu.com
- ubuntu.com
- access.redhat.com
- Mitre CVE-2016-10160
- cve.mitre.org
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences