CVE-2025-1220Php
Medium 5.3 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Jul 13, 2025
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 8.1.0 < 8.1.33 |
| php | php | ≥ 8.2.0 < 8.2.29 |
| php | php | ≥ 8.3.0 < 8.3.23 |
| php | php | ≥ 8.4.0 < 8.4.10 |
Official advisories
- Red Hat Security Advisory: php:7.4 security update · Red Hat · RHSA-2026:2470 · Feb 11, 2026 Medium
- Red Hat Security Advisory: php:8.2 security update · Red Hat · RHSA-2026:1412 · Jan 28, 2026 High
- Red Hat Security Advisory: php:8.2 security update · Red Hat · RHSA-2026:1409 · Jan 28, 2026 High
Also: Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- www.openwall.com
- lists.debian.org