CVE-2024-5458
mediumpriority · track · 25OT risk · elevatedEPSS 0.121 · 96 %ileDEEUNLRUUSEPSS · scored 2026-10-27
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (60)
Products and version ranges known to be affected.
advisories (6)
Vendor and ecosystem advisories describing this.
- NCSC-2024-0243Kwetsbaarheden verholpen in PHPNL2024-06-10csaf · ncsc_nlNL
Er zijn kwetsbaarheden verholpen in PHP.
- NCSC-2024-0411Kwetsbaarheden verholpen in Oracle Database productenNL2024-10-17csaf · ncsc_nlNL
Oracle heeft kwetsbaarheden verholpen in diverse Database producten en subsystemen, zoals de Core database, Application Express, Autonomous Health Framework, Essbase, GoldenGate, SQL Developer en Secure Backup.
- WID-SEC-W-2024-1320PHP: Mehrere SchwachstellenDeutsch2024-06-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in PHP ausnutzen, um beliebigen Programmcode auszuführen und um Sicherheitsmechanismen zu umgehen.
- BIT-libphp-2024-5458Filter bypass in filter_var (FILTER_VALIDATE_URL)2025-08-11vendor · osvUS
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
- BIT-php-2024-5458Filter bypass in filter_var (FILTER_VALIDATE_URL)2024-06-12vendor · osvUS
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
- BIT-php-min-2024-5458Filter bypass in filter_var (FILTER_VALIDATE_URL)2025-01-14vendor · osvUS
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202406-829cnnvd
- EUVD-2024-46674enisa_euvd
- BDU:2024-04846fstec_bdu
- BIT-libphp-2024-5458osv
- BIT-php-2024-5458osv
- BIT-php-min-2024-5458osv
- GHSA-w8qr-v226-r27wosv
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2024/06/07/1cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-5458/cnnvd
- https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27wcnnvd
- https://vigilance.fr/vulnerability/PHP-four-vulnerabilities-dated-06-06-2024-44455cnnvd
- https://www.php.net/downloadsPatchcnnvd
- http://www.openwall.com/lists/oss-security/2024/06/07/1enisa_euvd
- https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27wenisa_euvd
- https://lists.debian.org/debian-lts-announce/2024/06/msg00009.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan