CVE-2025-1220CWE-918

Null byte termination in hostnames

Low · published July 13, 2025

CVSS v3.1
3.7
EPSS
1%
Percentile
50.0
In the wild
Unconfirmed
What it is

In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00640 · 50.0th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-07-13T22:18Z
EPSS history
Timeline
  • 13 JUL 22:18Z
    Null byte termination in hostnames
    cvelistv5