Buffer overflow in PHP Group

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.

Vulnerability class: Buffer Overflow

Published .

CVSS v3 metric

CVSS v3 base score 3.4 (Low). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-1218?
CVE-2025-1218 is a low-severity vulnerability in PHP Group, classified under Heap-based Buffer Overflow. CVSS score: 3.4/10. Published 2026-09-25.
How severe is CVE-2025-1218?
Low severity. CVSS v3 base score is 3.4 out of 10.