CVEMETERBack to radar
OFFICIAL RECORD · PHP

CVE-2024-5458

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

Filter bypass in filter_var (FILTER_VALIDATE_URL)

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 12.117% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by php
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T10:45:52.730Z

CVSS 3.1 · 5.3 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T14:19:00.650Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T10:45:52.730ZCVE Program
epssverified2026-11-19T16:04:39.514ZFIRST EPSS
patchesverified2026-11-19T14:19:00.650ZUbuntu Security
affectedverified2026-11-19T10:45:52.730ZCVE Program
lifecycleverified2026-11-19T10:45:52.730ZCVE Program

Affected versions and configuration

PHP Group PHP; modules: filter; default status: affected: 8.1.* to < 8.1.29 [affected; scheme: semver]; 8.2.* to < 8.2.20 [affected; scheme: semver]; 8.3.* to < 8.3.8 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "php8.3",
    "debian": "https://tracker.debian.org/pkg/php8.3",
    "source": "https://ubuntu.com/security/cve?package=php8.3",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=php8.3",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.8",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.6-0ubuntu0.24.04.1",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.9-1",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://github.com/php/php-src",
      "vendor": "PHP Group",
      "modules": [
        "filter"
      ],
      "product": "PHP",
      "versions": [
        {
          "status": "affected",
          "version": "8.1.*",
          "lessThan": "8.1.29",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.2.*",
          "lessThan": "8.2.20",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.3.*",
          "lessThan": "8.3.8",
          "versionType": "semver"
        }
      ],
      "programFiles": [
        "ext/filter/logical_filters.c"
      ],
      "defaultStatus": "affected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-5458",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-06-10T19:55:47.057816Z"
            }
          }
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
          ],
          "vendor": "php",
          "product": "php",
          "versions": [
            {
              "status": "affected",
              "version": "7.3.27",
              "versionType": "semver",
              "lessThanOrEqual": "7.3.33"
            },
            {
              "status": "affected",
              "version": "7.4.15",
              "versionType": "semver",
              "lessThanOrEqual": "7.4.33"
            },
            {
              "status": "affected",
              "version": "8.0.2",
              "versionType": "semver",
              "lessThanOrEqual": "8.0.30"
            },
            {
              "status": "affected",
              "version": "8.1.0",
              "lessThan": "8.1.29",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "8.2.0",
              "lessThan": "8.2.20",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "8.3.0",
              "lessThan": "8.3.8",
              "versionType": "semver"
            }
          ],
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*"
          ],
          "vendor": "fedoraproject",
          "product": "fedora",
          "versions": [
            {
              "status": "affected",
              "version": "40"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-345",
              "description": "CWE-345 Insufficient Verification of Data Authenticity"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-03-14T14:13:20.514Z"
      }
    },
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2024/06/07/1",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00009.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20240726-0001/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00011.html"
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2025-11-03T22:32:24.445Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamphp8.3Not a distribution channel8.3.8Official record
distribution-packageUbuntu / noblephp8.3security8.3.6-0ubuntu0.24.04.1Official record
distribution-packageUbuntu / oracularphp8.3security8.3.9-1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history