patchminder
No public exploit found CVE-2020-7070

Vulnerabilityin PHP.

Published 2 Oct 2020 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 4.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 5.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 7.2.34, 7.3.23, 7.4.11
In plain words

In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.

What to do now
  • Upgrade PHP to 7.2.34, 7.3.23, 7.4.11 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
PHP
7.3.x to before 7.3.23
7.3.23
CVE record
PHP
7.4.x to before 7.4.11
7.4.11
CVE record
PHP
7.2.x to before 7.2.34
7.2.34
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jan 2020
    CVE ID reserved by php.
  2. 2 Oct 2020
    Published in the CVE List.
  3. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other PHP vulnerabilities

Same weakness: Improper input validation

All CWE-20 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-7070: Vulnerability in PHP. https://patchminder.com/cve/cve-2020-7070/ (accessed 5 December 2026).