CVE-2025-1220
php8.2 - security update
5.3
MEDIUM
CVSS 3.1
EPSS 0.16%
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.
How to fix CVE-2025-1220
To remediate CVE-2025-1220, upgrade the affected package to a fixed version below.
- —upgrade to 8.1.33 or later
- —upgrade to 8.1.33 or later
- —upgrade to 8.1.33 or later
- —upgrade to 7.4.33-1+deb11u9 or later
- —upgrade to 7.4.33-1+deb11u9 or later
- —upgrade to 8.2.29-1~deb12u1 or later
- —upgrade to 8.2.29-1~deb12u1 or later
- —upgrade to 8.4.10-1 or later
Is CVE-2025-1220 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (8)
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 8.1.33, >= 8.2.0, < 8.2.29, >= 8.3.0, < 8.3.23, >= 8.4.0, < 8.4.10
- from 0, < 7.4.33-1+deb11u9
- from 0, < 7.4.33-1+deb11u9
- from 0, < 8.2.29-1~deb12u1
- from 0, < 8.2.29-1~deb12u1
- from 0, < 8.4.10-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |