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.
| Published | 2024-06-09 |
| Updated | 2024-06-09 |
| Affected | PHP 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 |
| Fix | Upgrade to 8.1.29; 8.2.20; 8.3.8 (first fixed release per supported branch). |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2024-5458 | CWE-345 | Other | Other | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- RHSA-2025:7315 — Red Hat · Medium (7.5) · 2025-05-13
Red Hat Security Advisory: php security update - RHSA-2024:10952 — Red Hat · Medium (7.5) · 2024-12-11
Red Hat Security Advisory: php:7.4 security update - RHSA-2024:10951 — Red Hat · Medium (7.5) · 2024-12-11
Red Hat Security Advisory: php:8.2 security update - RHSA-2024:10950 — Red Hat · Medium (7.5) · 2024-12-11
Red Hat Security Advisory: php:8.1 security update - RHSA-2024:10949 — Red Hat · Medium (7.5) · 2024-12-11
Red Hat Security Advisory: php:8.2 security update - K000140695 — F5 · N/A (F5 products not affected) · 2024-08-13
PHP vulnerability CVE-2024-5458 - NTAP-20240726-0001 — NetApp · Medium (5.3) · 2024-07-26
CVE-2024-5458 PHP Vulnerability in NetApp Products
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.