CVE-2024-5458: Php5 · In PHP versions 8.1. before 8.1.29, 8.2
Affects php5Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 7.0.33-0ubuntu0.16.04.16+esm11 : update php5 when convenient.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 7.0.33-0ubuntu0.16.04.16+esm11, 7.2.24-0ubuntu0.18.04.17+esm5, 7.4.3-4ubuntu2.23 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSphp7.2pkg:deb/ubuntu/php7.2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSphp7.0pkg:deb/ubuntu/php7.0?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSphp5pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-5458 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-5458 (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w (opens in a new tab)
- github.com/php/php-src/commit/7e0e3cc820c493301409a0ce2b6ef95e0ab06b0c (opens in a new tab)
- ubuntu.com/security/notices/USN-6841-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6841-2 (opens in a new tab)