CVE-2025-1218CWE-122

CVE-2025-1218

Low · published September 26, 2026

CVSS v3.1
3.4
EPSS
0%
Percentile
7.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.4 · LOW
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00182 · 7.4th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-09-26T01:17Z
Affected products (4)
ProductVersionsFixed in
php/php≥ 8.2.0, < 8.2.348.2.34
php/php≥ 8.3.0, < 8.3.358.3.35
php/php≥ 8.4.0, < 8.4.268.4.26
php/php≥ 8.5.0, < 8.5.118.5.11
References (1)
EPSS history
Timeline
  • 27 SEP 03:19Z
    EPSS moved — → 0%
    epss
  • 25 SEP 20:48Z
    Various packet overreads in mysqlnd_writeprotocol.c
    cvelistv5