Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2020-7070

PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

Medium4.3EPSS 5.0%
Published
Updated
Reserved
Assigned by
php

Description

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.

Scores

CVSS scores of CVE-2020-7070, by who scored it
Scored byCVSSScoreVector
phpCNA (assigner)3.1Medium4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVDNVD · Modified3.1Medium5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS (exploitation in 30 days)
5.0% · top 7.7% of all CVEs (7 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.

Weakness

Affected products

  • PHP Group · PHP

    • affected 7.3.x – < 7.3.23
    • affected 7.4.x – < 7.4.11
    • affected 7.2.x – < 7.2.34

References (15)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2020-7070 badge
[![CVE-2020-7070](https://trackcve.app/badge/CVE-2020-7070.svg)](https://trackcve.app/cve/CVE-2020-7070)

Record last updated .