CVE-2022-31629
$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
MEDIUM 6.5EPSS 49.6%
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.
- Affected
- PHP Group · PHP
- CVSS v3.1 NVD
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - EPSS
- 49.57% chance of exploitation in the next 30 days, 99th percentile
- Published
- 2022-09-28
- Updated
- 2025-11-04
Proof-of-concept exploits (1)
- silnex/CVE-2022-31629-poc3★ · 2022-10-08
Security advisories
- https://bugs.php.net/bug.php?id=81727
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
- https://security.gentoo.org/glsa/202211-03
- https://security.netapp.com/advisory/ntap-20221209-0001
- https://www.debian.org/security/2022/dsa-5277