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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3833-1 php7.3 security update
Debian DLA Debian DLA DLA-3920-1 php7.4 security update
Debian DSA Debian DSA DSA-5717-1 php8.2 security update
EUVD EUVD EUVD-2024-46674 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.
Ubuntu USN Ubuntu USN USN-6841-2 PHP vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 23:30:00 +0000

Type Values Removed Values Added
References

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02755}

epss

{'score': 0.024}


Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02713}

epss

{'score': 0.02755}


Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01272}

epss

{'score': 0.02713}


Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00287}

epss

{'score': 0.01272}


Fri, 14 Mar 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 12 Dec 2024 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-11-03T22:32:24.445Z

Reserved: 2024-05-29T00:23:37.703Z

Link: CVE-2024-5458

cve-icon Vulnrichment

Updated: 2024-08-01T21:11:12.787Z

cve-icon NVD

Status : Modified

Published: 2024-06-09T19:15:52.397

Modified: 2025-11-03T23:17:30.373

Link: CVE-2024-5458

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-10-21T00:00:00Z

Links: CVE-2024-5458 - Bugzilla

cve-icon OpenCVE Enrichment

No data.