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.
History

Mon, 14 Jul 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}


Mon, 14 Jul 2025 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Sun, 13 Jul 2025 22:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Null byte termination in hostnames
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published: 2025-07-13T22:18:36.974Z

Updated: 2025-07-14T15:58:49.718Z

Reserved: 2025-02-11T04:54:48.211Z

Link: CVE-2025-1220

cve-icon Vulnrichment

Updated: 2025-07-14T15:58:40.498Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-13T23:15:22.773

Modified: 2025-07-15T13:14:24.053

Link: CVE-2025-1220

cve-icon Redhat

Severity : Low

Publid Date: 2025-07-13T22:18:36Z

Links: CVE-2025-1220 - Bugzilla