Skip to main content
VulnerabilityPublished Updated

CVE-2024-5458: Php5 · In PHP versions 8.1. before 8.1.29, 8.2

Affects php5Source GCVE Database

0
Compare
Authoritative record:CVE-2024-5458· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (php)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threatsAffected
  • <8.3.6-0ubuntu0.24.04.1
Fixed in
  • 8.3.6-0ubuntu0.24.04.1
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threatsAffected
  • <8.1.2-1ubuntu2.18
Fixed in
  • 8.1.2-1ubuntu2.18
Ubuntu 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=focalOther threatsAffected
  • <7.4.3-4ubuntu2.23
Fixed in
  • 7.4.3-4ubuntu2.23
Ubuntu Pro 18.04 LTSphp7.2pkg:deb/ubuntu/php7.2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <7.2.24-0ubuntu0.18.04.17+esm5
Fixed in
  • 7.2.24-0ubuntu0.18.04.17+esm5
Ubuntu Pro 16.04 LTSphp7.0pkg:deb/ubuntu/php7.0?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <7.0.33-0ubuntu0.16.04.16+esm11
Fixed in
  • 7.0.33-0ubuntu0.16.04.16+esm11
Ubuntu Pro 14.04 LTSphp5pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 5.5.3+dfsg-1ubuntu2 – 5.5.9+dfsg-1ubuntu4.29+esm19
50 affected builds
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

Community reviews

Loading reviews…