ADVISORIES

Vulnerability

CVE-2022-31629

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.

41 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2023-2023-081

    Amazon Linux 2023 - ALAS2023-2023-081: Important priority package update for php8.1

    Important CVE-2022-31627CVE-2022-31628CVE-2022-31629CVE-2022-31630 Amazon Linux Updated 22 February 2023
  • ALPINE-CVE-2022-31629

    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…

    CVE-2022-31629 Alpine Updated 20 November 2026
  • ALSA-2023:0848

    Moderate: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 5 November 2026
  • ALSA-2023:0965

    Moderate: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2417

    Moderate: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2903

    Moderate: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 AlmaLinux Updated 5 November 2026
  • ALSA-2024:10949

    Moderate: php:8.2 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10950

    Moderate: php:8.1 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10951

    Moderate: php:8.2 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10952

    Moderate: php:7.4 security update

    CVE-2022-31629CVE-2023-0567CVE-2023-0568CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2022-31629

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

    CVE-2022-31629 PHP Updated 4 November 2025
  • DEBIAN-CVE-2022-31629

    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…

    CVE-2022-31629 Debian Updated 24 November 2026
  • DLA-3243-1

    php7.3 - security update

    CVE-2021-21707CVE-2022-31625CVE-2022-31626CVE-2022-31628 Debian Updated 20 November 2026
  • DSA-5277-1

    php7.4 - security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-37454 Debian Updated 20 November 2026
  • ELSA-2023-0848

    ELSA-2023-0848: php:8.0 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 22 February 2023
  • ELSA-2023-0965

    ELSA-2023-0965: php security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 28 February 2023
  • ELSA-2023-2417

    ELSA-2023-2417: 8.1 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 15 May 2023
  • ELSA-2023-2903

    ELSA-2023-2903: php:7.4 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 24 May 2023
  • OESA-2023-1271

    php security update

    Medium CVE-2022-31628CVE-2022-31629 openEuler Updated 18 August 2026
  • OESA-2023-1272

    php security update

    Medium CVE-2022-31628CVE-2022-31629 openEuler Updated 18 August 2026
  • OESA-2023-1273

    php security update

    Medium CVE-2022-31629 openEuler Updated 18 August 2026
  • RHSA-2023:0848

    Red Hat Security Advisory: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:0965

    Red Hat Security Advisory: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2417

    Red Hat Security Advisory: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2903

    Red Hat Security Advisory: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2022-31629

    php: standard insecure cookie could be treated as a '__Host-' or '__Secure-' cookie by PHP applications

    Moderate CVE-2022-31629 Red Hat Updated 7 November 2026
  • RLSA-2023:0848

    Moderate: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 4 February 2026
  • RLSA-2023:0965

    Moderate: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 5 February 2026
  • RLSA-2023:2417

    Moderate: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 27 December 2025
  • RLSA-2023:2903

    Moderate: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Rocky Linux Updated 27 December 2025
  • SUSE-SU-2022:3661-1

    Security update for php8

    CVE-2021-21703CVE-2022-31628CVE-2022-31629 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:3830-1

    Security update for php7

    CVE-2022-31628CVE-2022-31629 openSUSE Updated 4 February 2026
  • SUSE-SU-2022:3957-1

    Security update for php72

    CVE-2022-31628CVE-2022-31629 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3997-1

    Security update for php7

    CVE-2021-21707CVE-2021-21708CVE-2022-31625CVE-2022-31626 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4067-1

    Security update for php7

    Known exploited CVE-2015-9253CVE-2017-8923CVE-2017-9120CVE-2018-1000222 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4068-1

    Security update for php74

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4069-1

    Security update for php7

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-31629

    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…

    CVE-2022-31629 Ubuntu Updated 21 October 2026
  • USN-5717-1

    php7.2, php7.4, php8.1 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-37454 Ubuntu Updated 27 April 2026
  • USN-5905-1

    php7.0 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31631CVE-2023-0568 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:13867-1

    php8-8.3.6-1.1 on GA media

    CVE-2022-31629CVE-2024-1874CVE-2024-2757CVE-2024-3096 openSUSE Updated 4 February 2026

References