Vendors › PHP

CVE-2024-5458

Medium (5.3) EPSS 12.1% PHP · core

Filter bypass in filter_var (FILTER_VALIDATE_URL)

An early return in filter_var URL validation accepts malformed user-info (username and password) portions of URLs, including IPv6 hosts, as valid.

Published2024-06-09
Updated2024-06-09
AffectedPHP versions 7.3.27 - 7.3.33; PHP versions 7.4.15 - 7.4.33; PHP versions 8.0.2 - 8.0.30; PHP versions 8.1.0 - 8.1.28; PHP versions 8.2.0 - 8.2.19; PHP versions 8.3.0 - 8.3.7
FixUpgrade to 8.1.29; 8.2.20; 8.3.8 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-5458CWE-345OtherOtherNVD · 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.