CVE-2025-1218
Denial of Service via out-of-bounds read in mysqlnd wire protocol parser
| Publication Date | 2026-09-25 |
|---|---|
| Severity | Low |
| Type | Denial of Service |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
A bug in mysqlnd_writeprotocol.c allows a MySQL server to send a truncated packet that the PHP client parses without first verifying the packet length. This causes undefined behavior and can crash the PHP process. The consequence is a local denial of service, with no evidence of code execution or data exfiltration.
Recommendations
If you are using the mysqlnd extension and are noticing crashes on pages that access the database, you may need to update to a patched version of PHP.