CVE-2025-1220
BaseFortify
Publication date: 2025-07-13
Last updated on: 2025-11-04
Assigner: PHP Group
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| php | php | From 8.1.0 (inc) to 8.1.33 (exc) |
| php | php | From 8.2.0 (inc) to 8.2.29 (exc) |
| php | php | From 8.3.0 (inc) to 8.3.23 (exc) |
| php | php | From 8.4.0 (inc) to 8.4.10 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in certain PHP versions where functions like fsockopen() do not properly validate that the hostname supplied does not contain null characters. Because of this, other functions such as parse_url() may interpret the hostname differently, potentially allowing security issues if user code relies on these functions for access checks before allowing access.
How can this vulnerability impact me? :
The vulnerability can lead to security problems by bypassing access checks implemented in user code. If the hostname contains null characters, functions may treat it differently, potentially allowing unauthorized access or other security issues.