Insufficient Validation in PHP Functions Exposes Users to Security Risks
CVE-2025-1220

3.7LOW

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
13 July 2025

What is CVE-2025-1220?

Certain versions of PHP have an input validation error where functions such as fsockopen() do not validate that the supplied hostname is free of null characters. This oversight can cause subsequent functions like parse_url() to process the hostname incorrectly, leading to potential security vulnerabilities, especially if access checks are implemented in user code based on the hostname. Developers using affected versions should ensure they validate input properly to mitigate these security risks.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.

Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.

Affected Version(s)

PHP 8.1.*

PHP 8.1.* < 8.1.33

PHP 8.2.* < 8.2.29

References

CVSS V3.1

Score:
3.7
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jihwan Kim
.