Ubuntu CVE Tracker
UBUNTU-CVE-2025-1218
Details
The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | php7.2 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.29+esm4 (fixed in 7.4.3-4ubuntu2.29+esm4) |
| Ubuntu:22.04:LTS | php8.1 | All versions before 8.1.2-1ubuntu2.27 (fixed in 8.1.2-1ubuntu2.27) |
| Ubuntu:24.04:LTS | php8.3 | All versions before 8.3.6-0ubuntu0.24.04.12 (fixed in 8.3.6-0ubuntu0.24.04.12) |
| Ubuntu:26.10 | php8.5 | All versions before 8.5.9-0ubuntu2 (fixed in 8.5.9-0ubuntu2) |
| Ubuntu:26.04:LTS | php8.5 | All versions before 8.5.4-0ubuntu1.4 (fixed in 8.5.4-0ubuntu1.4) |