Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7061
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:00 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7061
Complete source record
{
"id": "d133f242b44b1031b5fe69d05123eeba43a4d89ba6d52cc4aeb8a437b5e6678e",
"url": "https://osv.dev/vulnerability/CVE-2020-7061",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7061",
"summary": "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.",
"evidence": "osv:CVE-2020-7061",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-7061",
"aliases": [
"BIT-libphp-2020-7061",
"BIT-php-2020-7061",
"BIT-php-min-2020-7061",
"CVE-2020-7061"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/php/php-src",
"type": "GIT",
"events": [
{
"introduced": "8148cbb78841c8ec0759c0836e7f35dec799d300"
},
{
"last_affected": "40c86aa3af2e25971e9c13460ca874348456410d"
},
{
"introduced": "52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"
},
{
"last_affected": "4b2854db6fd2fae5a950ae7ce25257ee08cee916"
},
{
"introduced": "3c7824e16ec4c3cee417262445d2c2b66531c10f"
},
{
"last_affected": "264ef4f16300270dd4e92d2510660836a4814579"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.2.0"
},
{
"last_affected": "7.2.27"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.3.0"
},
{
"last_affected": "7.3.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.4.0"
},
{
"last_affected": "7.4.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7061.json"
}
}
],
"modified": "2026-10-24T10:30:23.754533244Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/202003-57",
"https://www.tenable.com/security/tns-2021-14",
"https://bugs.php.net/bug.php?id=79171"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*"
],
"vendor_product": "tenable:tenable.sc",
"extracted_events": [
{
"range": [
{
"fixed": "5.19.0"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-7061",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430997,
"published_at": "2020-02-27T21:15:18.927+00:00"
}