Vendors › PHP

CVE-2024-2756

Medium (6.5) EPSS 38.1% PHP · core

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

An incomplete fix for an earlier cookie issue lets network or same-site attackers plant an ordinary insecure cookie that PHP applications treat as a __Host- or __Secure- cookie.

Published2024-04-11
Updated2024-04-11
AffectedPHP versions > 8.1.11; PHP versions < 8.1.28; PHP versions < 8.2.18; PHP versions < 8.3.5
FixUpgrade to 8.1.28; 8.2.18; 8.3.6 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-2756CWE-20Input ValidationOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.