← back
CVE-2025-1220

Null byte termination in hostnames

CVSS 3.7 LOWEPSS 0.5%CWE-918
Vexday Risk Score
8Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 3.7EPSS 0.5%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
13 Jul 2025Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
PHP Group · PHP

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →