CVE-2020-7068

Public Exploit
Use of freed hash key in the phar_parse_zipfile function

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.

Category

4.8
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 1.16% Top 25%
Vendor Advisory gentoo.org Vendor Advisory debian.org Vendor Advisory php.net
Affected: PHP Group PHP
Published at:
Updated at:

References

Link Tags
https://bugs.php.net/bug.php?id=79797 mailing list patch vendor advisory exploit
https://security.gentoo.org/glsa/202009-10 third party advisory vendor advisory
https://security.netapp.com/advisory/ntap-20200918-0005/ third party advisory
https://www.debian.org/security/2021/dsa-4856 third party advisory vendor advisory
https://www.tenable.com/security/tns-2021-14 third party advisory patch

Frequently Asked Questions

What is the severity of CVE-2020-7068?
CVE-2020-7068 has been scored as a medium severity vulnerability.
How to fix CVE-2020-7068?
To fix CVE-2020-7068, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-7068 being actively exploited in the wild?
It is possible that CVE-2020-7068 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-7068?
CVE-2020-7068 affects PHP Group PHP.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.