Vulnerability · Published Feb 27, 2020 · Assigned by php

CVE-2020-7061heap-buffer-overflow in phar_extract_file

Medium 6.5

In plain English

A medium-severity out-of-bounds read in PHP from PHP Group. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.1% (higher than 91% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)4.1%top 9.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
PHP Group PHP 7.3.x – before 7.3.157.4.x – before 7.4.3

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References