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

Tue, 04 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Tue, 22 Jul 2025 17:15:00 +0000

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

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:

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-14T22:45:21Z