Skip to content
Noroxi
CVE-2024-2756· NVD / CVE Program· CNA php

__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

MediumCVSS 6.5 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Apr 29, 2024
Updated
Jun 17, 2026
EPSS
38.1% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
11 / 30 · 38.1%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · php
6.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
phparchive tar

Versions reported by the vendor

Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.

  • PHP Group PHP

    • 8.1.* and later · before 8.1.28affected · semver
    • 8.2.* and later · before 8.2.18affected · semver
    • 8.3.* and later · before 8.3.5affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8apcu-panelbefore 5.1.23-1.module_el8.10.0+3796+30ed3ef75.1.23-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux:8apcu-panelbefore 5.1.18-1.module_el8.6.0+2750+78feabcb5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzipbefore 1.7.3-1.module_el8.10.0+3796+30ed3ef71.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzipbefore 1.7.3-1.module_el8.6.0+3061+6878dd1b1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzipbefore 1.7.3-1.module_el8.6.0+2739+efabdb8f1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzip-develbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzip-develbefore 1.7.3-1.module_el8.6.0+3061+6878dd1b1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux:8libzip-develbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzip-develbefore 1.7.3-1.module_el8.10.0+3796+30ed3ef71.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux:8libzip-toolsbefore 1.7.3-1.module_el8.10.0+3796+30ed3ef71.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzip-toolsbefore 1.7.3-1.module_el8.6.0+2739+efabdb8f1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8phpbefore 7.4.33-2.module_el8.10.0+3935+288084257.4.33-2.module_el8.10.0+3935+28808425
AlmaLinux:8phpbefore 8.2.25-1.module_el8.10.0+3936+14b354998.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux:8php-bcmathbefore 7.4.33-2.module_el8.10.0+3935+288084257.4.33-2.module_el8.10.0+3935+28808425
AlmaLinux:8php-bcmathbefore 8.2.25-1.module_el8.10.0+3936+14b354998.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux:8php-clibefore 8.2.25-1.module_el8.10.0+3936+14b354998.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux:8php-clibefore 7.4.33-2.module_el8.10.0+3935+288084257.4.33-2.module_el8.10.0+3935+28808425
AlmaLinux:8php-commonbefore 8.2.25-1.module_el8.10.0+3936+14b354998.2.25-1.module_el8.10.0+3936+14b35499

+96

Other highest-scoring records for the same primary product.

  • CVE-2006-3016Unspecified vulnerability in session.c in PHP before 5.1.3 has unknown impact and attack vectors, related to "certain characters in session
    38Monitor
  • CVE-2006-3018Unspecified vulnerability in the session extension functionality in PHP before 5.1.3 has unknown impact and attack vectors related to heap c
    31Monitor
  • CVE-2026-91765SOAP: Unbounded Recursion in Server-Side cleanup_xml_node
    30Monitor
  • CVE-2026-17545PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoS
    27Monitor
  • CVE-2026-91768IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcmp 12 bytes)
    26Monitor
  • CVE-2026-91767Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
PHP Group PHP8.1.28Vendor (CNA)
PHP Group PHP8.2.18Vendor (CNA)
PHP Group PHP8.3.5Vendor (CNA)
almalinux:apcu-panel5.1.23-1.module_el9.4.0+65+49ff6472 · AlmaLinux:9Package registry (OSV)
almalinux:php8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-bcmath8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-cli8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-common8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-dba8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-dbg8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-devel8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-embedded8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-enchant8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-ffi8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
almalinux:php-fpm8.2.25-1.module_el9.5.0+132+adb0ae7a · AlmaLinux:9Package registry (OSV)
debian:php7.37.3.31-1~deb10u6 · Debian:10Package registry (OSV)
debian:php7.47.4.33-1+deb11u5 · Debian:11Package registry (OSV)
debian:php8.28.2.18-1~deb12u1 · Debian:12Package registry (OSV)
opensuse:apache2-mod_php77.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:php77.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:php7-embed7.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:php7-fastcgi7.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:php7-fpm7.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:php7-test7.4.33-150400.4.34.1 · openSUSE:Leap 15.5Package registry (OSV)
red hat:apcu-panel0:5.1.23-1.module+el9.4.0+20748+b46899d2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php0:8.2.25-1.module+el9.5.0+22477+5fdac06d · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath0:8.2.25-1.module+el9.5.0+22477+5fdac06d · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath-debuginfo0:8.2.25-1.module+el9.5.0+22477+5fdac06d · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli0:8.2.25-1.module+el9.5.0+22477+5fdac06d · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli-debuginfo0:8.2.25-1.module+el9.5.0+22477+5fdac06d · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

+21

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

nvd-secondary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records