Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-5458

published medium CVSS 3.1 · 5.3

Filter bypass in filter_var (FILTER_VALIDATE_URL)

Published
09 Jun 2024, 18:26:28 UTC
Updated
03 Nov 2025, 22:32:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHP Group — PHP8.1.* to < 8.1.29 · 8.2.* to < 8.2.20 · 8.3.* to < 8.3.8 · Other versions: affected Affected Not stated php
php — php7.3.27 through 7.3.33 · 7.4.15 through 7.4.33 · 8.0.2 through 8.0.30 · 8.1.0 to < 8.1.29 · 8.2.0 to < 8.2.20 · 8.3.0 to < 8.3.8 · Other versions: affected Affected Not stated CISA-ADP
fedoraproject — fedora40 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PHP8.1-2024-005 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PHP8.2-2024-005 Fixed Not stated Amazon Linux assessment
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-654 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-678 Fixed Not stated Amazon Linux assessment

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.

en · php · cna

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
php · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHP Group PHP 8.1.* to < 8.1.29 (affected · semver)8.2.* to < 8.2.20 (affected · semver)8.3.* to < 8.3.8 (affected · semver)Default: affected php · cna
php php 7.3.27 through 7.3.33 (affected · semver)7.4.15 through 7.4.33 (affected · semver)8.0.2 through 8.0.30 (affected · semver)8.1.0 to < 8.1.29 (affected · semver)8.2.0 to < 8.2.20 (affected · semver)8.3.0 to < 8.3.8 (affected · semver)Default: affected CISA-ADP · adp
fedoraproject fedora 40 (affected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-345 CWE-345 Insufficient Verification of Data Authenticity (CISA-ADP · adp)

References

7

Provider assertions

3

php · cna

Filter bypass in filter_var (FILTER_VALIDATE_URL)

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
788afbe328c9f73e780854df0d36b44ff00d6c2d38bece44beab6d65e5bd3140
Ingested
23 Sep 2026, 08:32:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected