Skip to main content
VulnerabilityPublished Updated

CVE-2025-1220: PHP · Server-Side Request Forgery (SSRF)

Affects PHPSource CVE Database V5

0

Not known to be exploited · CVSS 3.7 Low · fixed in 8.4.10 : update PHP when convenient.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.4.10, 8.3.23, 8.2.29 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade the Debian debian/php package to 8.4.10, 8.3.23, 8.2.29 or 8.1.33.

Affected software

ProductAffectedFixed in
Debiandebian/phppkg:deb/debian/phpOther threatsAffected
  • =8.1.0
  • <8.1.33
  • =8.2.0
  • <8.2.29
  • =8.3.0
  • <8.3.23
  • =8.4.0
  • <8.4.10
Fixed in
  • 8.1.33
  • 8.2.29
  • 8.3.23
  • 8.4.10

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, developers should implement strict input validation and sanitization to reject hostnames containing null characters or other suspicious input before passing them to network functions like fsockopen(). Additionally, security checks should be performed on the exact data used for network connections, avoiding discrepancies between validation and execution. Employing web application firewalls (WAFs) with rules to detect and block SSRF patterns can provide an additional layer of defense. Network segmentation and restricting outbound connections from web servers to only necessary destinations can limit the impact of potential SSRF exploitation. Regular code audits focusing on URL parsing and network request logic are recommended to identify similar inconsistencies. Monitoring logs for unusual outbound requests from web applications can help detect exploitation attempts early.

Description

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.

References

Community reviews

Loading reviews…