CVE-2020-7061
published medium CVSS 3.1 · 6.5heap-buffer-overflow in phar_extract_file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PHP Group | — | PHP7.3.x to < 7.3.15 · 7.4.x to < 7.4.3 · Platforms: Windows | Affected | Not stated | php |
| Alpine Linux | v3.11 | php7 | Fixed | 7.3.15-r0 | Package fix record |
| Alpine Linux | v3.12 | php7 | Fixed | 7.3.15-r0 | Package fix record |
| Alpine Linux | v3.13 | php7 | Fixed | 7.3.15-r0 | Package fix record |
| Alpine Linux | v3.14 | php7 | Fixed | 7.3.15-r0 | Package fix record |
| Alpine Linux | v3.15 | php7 | Fixed | 7.3.15-r0 | Package fix record |
Description
In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- php · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PHP Group | PHP | 7.3.x to < 7.3.15 (affected · custom)7.4.x to < 7.4.3 (affected · custom) | php · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
3- https://bugs.php.net/bug.php?id=79171
- GLSA-202003-57 https://security.gentoo.org/glsa/202003-57
- https://www.tenable.com/security/tns-2021-14
Provider assertions
2php · cna
heap-buffer-overflow in phar_extract_file
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5d237735aeb7460696ca440648758de556f07378d7cd07a7dc7b514b6e3fec7b
- Ingested
- 23 Sep 2026, 07:51:18 UTC
- Source record
- Official CVE record