# CVE-2020-7068: Use of freed hash key in the phar_parse_zipfile function

- Severity: Medium 4.8 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.60%, higher than 76% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-09T17:58:42.837Z
- Modified: 2026-09-10T16:01:44.921Z
- Also known as: BIT-LIBPHP-2020-7068, BIT-PHP-2020-7068, BIT-PHP-MIN-2020-7068
- Weaknesses: CWE-416
- Assigned by: php

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

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.21; from 7.4.x before 7.4.9; from 7.2.x before 7.2.33
- php php: from 7.2.0 before 7.2.33; from 7.3.0 before 7.3.21; from 7.4.0 before 7.4.9
- debian debian_linux: 10.0
- tenable tenable.sc: before 5.19.0
- libphp (Bitnami): from 7.2.0 before 7.2.33; from 7.3.0 before 7.3.21; from 7.4.0 before 7.4.9
- php (Bitnami): from 7.2.0 before 7.2.33; from 7.3.0 before 7.3.21; from 7.4.0 before 7.4.9
- php-min (Bitnami): from 7.2.0 before 7.2.33; from 7.3.0 before 7.3.21; from 7.4.0 before 7.4.9

## Every score

- php: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 3.6 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:2.0 3.3 Low `AV:L/AC:M/Au:N/C:P/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.php.net/bug.php?id=79797> (exploit, advisory, mailing-list, patch, vendor-advisory)
- <https://security.gentoo.org/glsa/202009-10> (advisory, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200918-0005/> (advisory, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4856> (advisory, third-party-advisory, vendor-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7068> (web)

## Sources

- CVE List: [CVE-2020-7068](https://www.cve.org/CVERecord?id=CVE-2020-7068), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-7068](https://nvd.nist.gov/vuln/detail/CVE-2020-7068), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2020-7068](https://osv.dev/vulnerability/BIT-LIBPHP-2020-7068), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PHP-2020-7068](https://osv.dev/vulnerability/BIT-PHP-2020-7068), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2020-7068](https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7068), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2020-7068 · Whole record: https://cve.day/CVE-2020-7068.json · Rebuilt by cve.day 2026-11-25T22:57:54.579Z
