CVE-2024-5458
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 phpCVSS: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 SecurityCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T10:45:52.730Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.514Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:00.650Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:52.730Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:52.730Z | CVE 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§ion=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 JSONCVE 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | php8.3 | Not a distribution channel | 8.3.8 | Official record |
| distribution-package | Ubuntu / noble | php8.3 | security | 8.3.6-0ubuntu0.24.04.1 | Official record |
| distribution-package | Ubuntu / oracular | php8.3 | security | 8.3.9-1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:45:52.730ZArchived source JSON
Source publication: 2024-06-09T18:26:28.804Z
Source modification: 2025-11-03T22:32:24.445ZDocument fingerprint
788afbe328c9f73e780854df0d36b44ff00d6c2d38bece44beab6d65e5bd3140 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:19:00.650ZArchived source JSON
Source publication: 2024-06-11T00:00:00.000Z
Source modification: 2025-08-04T19:18:25.581ZDocument fingerprint
a85a2f22e3f1cc419e5cae301af80f330bf859713985b01660de1d1623424dfd - FIRST EPSSConsulted: 2026-11-19T16:04:39.514ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c07aa8e6fdfc310c84fe1ac9be92e31e56fc57bead56722404a3841425dfa449
Official status history
- UNKNOWN → PUBLISHED · · evidence