What is 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.
The record classifies CVE-2025-1218 under weakness class CWE-122. Its CVSS v3 base vector states that the flaw is reachable from an adjacent network, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 49 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 3.4 — LOW
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N - CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 1.7/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-09-25
Is CVE-2025-1218 being exploited?
No public exploitation evidence for CVE-2025-1218 is recorded in the sources Threadlinqs tracks — CISA KEV, Exploit-DB, public proof-of-concept repositories and ProjectDiscovery Nuclei — as of 2026-09-25. That is an absence of evidence in those feeds, not a guarantee that the vulnerability is unexploited.
Affected products and versions
- PHP Group: PHP
How to fix CVE-2025-1218
Vendor advisory: https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2025-1218
1 tracked threat in the Threadlinqs corpus references CVE-2025-1218, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD. This product uses the NVD API but is not endorsed or certified by the NVD.