CVE Catalog

CVE-2025-1218

LowCVSS 3.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

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.

Risk Assessment

The MySQL client process may crash, leading to a denial of service. Exploitation requires connecting to a malicious or compromised MySQL server.

Recommendation

Update the MySQL client software to a version containing the fix. Avoid connecting to untrusted MySQL servers.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS