CVE Database
/

CVE-2025-1220

Back to search

CVE-2025-1220

Published: Jul 13, 2025

Modified: Nov 4, 2025

PUBLISHED

CVSS v3.1

3.7

LOW

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.

VendorProductVersions

PHP Group

PHP

affected
8.1.* - < 8.1.33
affected
8.2.* - < 8.2.29
affected
8.3.* - < 8.3.23
affected
8.4.* - < 8.4.10

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack Vector

Network

Attack Complexity

High

Privileges Required

None

User Interaction

None

Scope

Unchanged

Confidentiality

Low

Integrity

None

Availability

None

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now