CVE-2025-1218

NameCVE-2025-1218
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6514-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php8.2 (PTS)bookworm8.2.32-1~deb12u1vulnerable
bookworm (security)8.2.33-1~deb12u1vulnerable
php8.4 (PTS)trixie8.4.24-1~deb13u1vulnerable
trixie (security)8.4.26-1~deb13u1fixed
forky, sid8.4.24-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php8.2source(unstable)(unfixed)
php8.4sourcetrixie8.4.26-1~deb13u1DSA-6514-1
php8.4source(unstable)(unfixed)

Notes

https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7
https://github.com/php/php-src/blob/php-8.4.26/NEWS

Search for package or bug name: Reporting problems