Live threats

All CVEs / Php

CVE-2025-1220Php

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 8.1.0 < 8.1.33
phpphp≥ 8.2.0 < 8.2.29
phpphp≥ 8.3.0 < 8.3.23
phpphp≥ 8.4.0 < 8.4.10

Official advisories

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.