CVE-2020-7068

Use of freed hash key in the phar_parse_zipfile function

LOW
3.6
CVSS Score
Published: September 9, 2020 at 05:58 PM UTC
Updated: June 17, 2026 at 03:24 AM UTC
3 products affected across 3 vendorsDebian LinuxPHPTenable.Sc

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.6
Exploit prediction
EPSS 2%

Description

In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.2.0 ≤ v < 7.2.337.2.x ≤ v < 7.2.337.3.0 ≤ v < 7.3.217.3.x ≤ v < 7.3.217.4.0 ≤ v < 7.4.97.4.x ≤ v < 7.4.97.2.x7.3.x7.4.x
Affected range stops below 7.2.33, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.9, so it looks safe — our inference, not a vendor statement
v < 5.19.0
Affected range stops below 5.19.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_MISCExploitMailing ListPatchVendor Advisory
https://bugs.php.net/bug.php?id=79797
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202009-10
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2021/dsa-4856
x_refsource_CONFIRMPatchThird Party Advisory
https://www.tenable.com/security/tns-2021-14

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card