CVE-2025-1218
Various packet overreads in mysqlnd_writeprotocol.c
- Low 3.4
Description
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.
Key facts
- Published
- 25 Sep 2026
- Last changed
- 28 Sep 2026
- Assigned by
- php
- EPSS
- 0.282% likely to be exploited in the next 30 days, higher than 21.041% of CVEs (scores for 18 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 3.4CVSS 3.1, Lowfrom the CNA (php)
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
CAPEC-100 Overflow Buffers (CNA impact statement)
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP |
|
Timeline
- 25 Sep 2026 Published