Skip to main content
No exploitation reportedFix available

CVE-2020-7061

No exploitation reported by the sources we read.

  • Published2020-02-27
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-02-2721:15CVE publishedNVD

Versions per branch

NVD · OSV
PHPversion to verify
BranchAffectedFixed in
7.2≥ 7.2.0, ≤ 7.2.27no fix published
7.3≥ 7.3.0, ≤ 7.3.14no fix published
7.4≥ 7.4.0, ≤ 7.4.2no fix published
php
BranchAffectedFixed in
7.4≥ 7.4.0, < 7.4.37.4.3
7.3≥ 7.3.0, < 7.3.157.3.15
7.2≥ 7.2.0, < 7.2.287.2.28
libphp
BranchAffectedFixed in
7.4≥ 7.4.0, < 7.4.37.4.3
7.3≥ 7.3.0, < 7.3.157.3.15
7.2≥ 7.2.0, < 7.2.287.2.28

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • phpMageia:7all versions · fixed in 7.3.15-1.mga7
  • php7Alpine:v3.15all versions · fixed in 7.3.15-r0
  • php7Alpine:v3.14all versions · fixed in 7.3.15-r0
  • php7Alpine:v3.13all versions · fixed in 7.3.15-r0
  • php7Alpine:v3.12all versions · fixed in 7.3.15-r0
  • php7Alpine:v3.11all versions · fixed in 7.3.15-r0

Vendor advisories

  • CVE-2020-7061 Red Hat Product Security

    php: heap-based buffer overflow in phar_extract_file

  • ICSA-26-027-02 CISA1 known affected

    Festo Didactic SE MES PC

    Festo Didactic SE MES PC shipped with Windows 10

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.19.1read 2026-10-23
  • NVDCVSS 2.06.4read 2026-10-23
  • CNAweakness (CWE)CWE-125known since 2026-10-23
  • NVDweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score4.1 %2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
2020-02-27
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-q6h5-x7cx-j9jg

Frequently asked questions

What is CVE-2020-7061?

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.

Is CVE-2020-7061 actively exploited?

Active exploitation of CVE-2020-7061 has not been confirmed. Its EPSS score was 4.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7061?

CVE-2020-7061 has a CVSS v3 base score of 9.1 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Running PHP? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record