{"id":"CVE-2025-1218","revision":"aaafbf9c4d5a4db59de4f12c265767da","records":[{"revision":"aaafbf9c4d5a4db59de4f12c265767da","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-1218","aliases":[],"title":"Various packet overreads in mysqlnd_writeprotocol.c","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.","state":0,"publishedAt":"2026-09-25T20:48:21.777+00:00","modifiedAt":"2026-09-28T13:31:31.774+00:00","affected":[{"ecosystem":"Vendor product","name":"ext-mysqlnd","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"PHP Group\",\n                    \"product\": \"PHP\",\n                    \"packageName\": \"ext-mysqlnd\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"8.2.*\",\n                            \"lessThan\": \"8.2.34\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"8.3.*\",\n                            \"lessThan\": \"8.3.35\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"8.4.*\",\n                            \"lessThan\": \"8.4.26\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"8.5.*\",\n                            \"lessThan\": \"8.5.11\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","score":3.4,"severity":"LOW"}],"references":["https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-1218","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-1218","identifiers":["CVE-2025-1218"]},"retained":false,"historicalAffected":[]}],"coverage":[]}