CVE-2025-1218

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.
References
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

23 Oct 2026, 14:55

Type Values Removed Values Added
First Time Microsoft windows
Microsoft
Php php
Php
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
References () https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7 - () https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7 - Vendor Advisory, Exploit

14 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) El analizador del protocolo de conexión de mysqlnd lee campos de los paquetes del servidor antes de verificar que el paquete aún contiene suficientes bytes para ellos. Un servidor MySQL malicioso o comprometido puede enviar un paquete truncado y hacer que el cliente lea más allá del final del búfer del paquete, lo que es un comportamiento indefinido y puede provocar la caída del proceso.

25 Sep 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-25 21:17

Updated : 2026-10-23 14:55


NVD link : CVE-2025-1218

Mitre link : CVE-2025-1218

CVE.ORG link : CVE-2025-1218


JSON object : View

Products Affected

php

  • php

microsoft

  • windows
CWE
CWE-122

Heap-based Buffer Overflow