6.5

CVE-2022-31629: $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

Modified
AliasesUBUNTU-CVE-2022-31629DEBIAN-CVE-2022-31629ALPINE-CVE-2022-31629
Published 28-09-2022Last modified 04-11-2025

Vulnerability summary

CVE-2022-31629 is a medium (CVSS 6.5) Improper Input Validation vulnerability in debian debian_linux. EPSS estimates a 49.57% chance of exploitation in the next 30 days, higher than 98.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
49.57%
0%100%
High · +0.23 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 17 · Related 10

Timeline

  1. 28-09-2022
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

49.57%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

Increase +0.23 pp

From 49.34% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu5 products
  • php5All versions (No fix recorded)
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm5
  • php7.2< 7.2.24-0ubuntu0.18.04.15
  • php7.4< 7.4.3-4ubuntu2.15
  • php8.1< 8.1.2-1ubuntu2.8
Alpine3 products
  • php7< 7.4.32-r0
  • php8< 8.0.24-r0 | < 8.0.25-r0
  • php81< 8.1.11-r0
Debian2 products
Fedoraproject1 product
Php1 product
  • php< 7.4.31 | ≥ 8.0.0, < 8.0.24 | ≥ 8.1.0, < 8.1.11
Php group1 product
  • php≥ 7.4.X, < 7.4.31 | ≥ 8.0.X, < 8.0.24 | ≥ 8.1.X, < 8.1.11

6 vendors · 13 products

References

22 links
Show all 22 references