Debian Security Tracker
DEBIAN-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 |
|---|---|---|
| Debian:12 | php8.2 | All versions before 8.2.34-1~deb12u1 (fixed in 8.2.34-1~deb12u1) |
| Debian:13 | php8.4 | All versions before 8.4.26-1~deb13u1 (fixed in 8.4.26-1~deb13u1) |
| Debian:14 | php8.4 | All versions before 8.4.26-1 (fixed in 8.4.26-1) |