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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4254-1 php7.4 security update
Debian DSA Debian DSA DSA-5967-1 php8.2 security update
EUVD EUVD EUVD-2025-21274 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.
Ubuntu USN Ubuntu USN USN-7648-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-7648-2 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 05 Nov 2025 07:30:00 +0900

Type Values Removed Values Added
References

Tue, 04 Nov 2025 05:30:00 +0900

Type Values Removed Values Added
References

Wed, 23 Jul 2025 02:15:00 +0900

Type Values Removed Values Added
CPEs cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Tue, 15 Jul 2025 01:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

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


Mon, 14 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}


Mon, 14 Jul 2025 21:15:00 +0900

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Mon, 14 Jul 2025 07:30:00 +0900

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-11-04T21:09:17.792Z

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

Link: CVE-2025-1220

cve-icon Vulnrichment

Updated: 2025-11-04T21:09:17.792Z

cve-icon NVD

Status : Modified

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

Modified: 2025-11-04T22:16:06.333

Link: CVE-2025-1220

cve-icon Redhat

Severity : Low

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

Links: CVE-2025-1220 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-07-15T07:45:21Z

Weaknesses