CVE-2025-1220: Php5 · In PHP versions:8.1. before 8.1.33, 8.2
Affects php5Source GCVE Database
Not known to be exploited · CVSS 3.7 Low · fixed in 7.0.33-0ubuntu0.16.04.16+esm16 : update php5 when convenient.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 3.1 | 3.7 |
|---|
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.0.33-0ubuntu0.16.04.16+esm16, 7.2.24-0ubuntu0.18.04.17+esm9, 7.4.3-4ubuntu2.29+esm1 +3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10php8.4pkg:deb/ubuntu/php8.4?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSphp7.2pkg:deb/ubuntu/php7.2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSphp7.0pkg:deb/ubuntu/php7.0?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- ubuntu.com/security/CVE-2025-1220 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-1220 (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-3cr5-j632-f35r (opens in a new tab)
- ubuntu.com/security/notices/USN-7648-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7648-2 (opens in a new tab)