ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-1220

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm16 (fixed in 7.0.33-0ubuntu0.16.04.16+esm16)
Ubuntu:Pro:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.17+esm9 (fixed in 7.2.24-0ubuntu0.18.04.17+esm9)
Ubuntu:Pro:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.29+esm1 (fixed in 7.4.3-4ubuntu2.29+esm1)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.22 (fixed in 8.1.2-1ubuntu2.22)
Ubuntu:24.04:LTSphp8.3
All versions before 8.3.6-0ubuntu0.24.04.5 (fixed in 8.3.6-0ubuntu0.24.04.5)
Ubuntu:25.10php8.4
All versions before 8.4.11-1ubuntu1 (fixed in 8.4.11-1ubuntu1)

References