CVE-2025-1218Various packet overreads in mysqlnd_writeprotocol.c
Updated under an hour ago ()
Does this affect you?
It affects PHP Group PHP. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 3.4 LOW (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
- Weakness (CWE)
- CWE-122
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- php
- NVD analysis
- Awaiting Analysis
- Record last updated
- Sep 28, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
PHP Group PHP php_group:php (from the name) | from 8.2.* before 8.2.34; from 8.3.* before 8.3.35; from 8.4.* before 8.4.26; from 8.5.* before 8.5.11 | CNA record |
References
- https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.