Back
CVE-2018-20783
In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may…
High7.5EPSS 5.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 5.7% · top 7.0% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (10)
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_MISCx_transferred
- http://php.net/ChangeLog-7.php (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.php.net/bug.php?id=77143 (opens in a new tab)x_refsource_MISCx_transferred
- openSUSE-SU-2019:1256 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1293 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-3566-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- openSUSE-SU-2019:1572 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1573 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2019:2519 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3299 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20783)Record last updated .