Vendors › PHP
CVE-2025-1220
Low (no CVSS assigned) EPSS 0.6% PHP · core
Null byte termination in hostnames
fsockopen() doesn't regard hostname as well, hostname is terminated at the null byte. This can cause Server Side Request Forgery in general case.
| Published | 2025-07-03 |
| Updated | 2026-05-19 |
| Affected | PHP versions < 8.1.33; PHP versions < 8.2.29; PHP versions < 8.3.23; PHP versions < 8.4.10 |
| Fix | Upgrade to 8.1.33, 8.2.29, 8.3.23, 8.4.10 (first fixed release per supported branch). |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-3cr5-j632-f35r |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2025-1220 | CWE-918 | Server-Side Request Forgery (SSRF) | Information Leak | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- K000161848 — F5 · N/A (F5 products not affected) · 2026-06-23
PHP vulnerability CVE-2025-1220 - RHSA-2026:2470 — Red Hat · Medium (6.5) · 2026-02-10
Red Hat Security Advisory: php:7.4 security update - RHSA-2026:1409 — Red Hat · High (7.5) · 2026-01-27
Red Hat Security Advisory: php:8.2 security update - RHSA-2026:1412 — Red Hat · High (7.5) · 2026-01-27
Red Hat Security Advisory: php:8.2 security update - NTAP-20260102-0014 — NetApp · Low (3.7) · 2026-01-02
CVE-2025-1220 PHP Vulnerability in NetApp Products - RHSA-2025:23309 — Red Hat · Medium (5.9) · 2025-12-18
Red Hat Security Advisory: php:8.3 security update
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.