{"id":"CVE-2025-1218","published":"2026-09-25T20:48:21Z","modified":"2026-09-28T13:31:31Z","title":"Various packet overreads in mysqlnd_writeprotocol.c","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.4,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00282,"percentile":0.21244,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","tags":["vendor-advisory"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":4.25},{"name":"CVSS severity","points":2.38}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.2.*, < 8.2.34",">= 8.3.*, < 8.3.35",">= 8.4.*, < 8.4.26",">= 8.5.*, < 8.5.11"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-28T12:56:30.325753Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-211005","exploited":false,"provenance":"source"}}