{"schema":"threatline.record/2","record":{"id":"CVE-2025-1218","aliases":["GHSA-r6x9-5r99-36j7"],"summary":"Various packet overreads in mysqlnd_writeprotocol.c","details":"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.","categories":["Runtimes & languages"],"product":"PHP","vendor":"PHP Group","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","source_modified_at":"2026-09-28T13:31:31.774Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"PHP","vendor":"PHP Group","versions":[{"status":"affected","version":"8.2.*","lessThan":"8.2.34","versionType":"semver"},{"status":"affected","version":"8.3.*","lessThan":"8.3.35","versionType":"semver"},{"status":"affected","version":"8.4.*","lessThan":"8.4.26","versionType":"semver"},{"status":"affected","version":"8.5.*","lessThan":"8.5.11","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"range":"<8.2.34"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"range":"<8.3.35"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"range":"<8.4.26"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"range":"<8.5.11"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","source_modified_at":"2026-09-28T13:31:31.774Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.2.34","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","source_modified_at":"2026-09-28T13:31:31.774Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.3.35","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","source_modified_at":"2026-09-28T13:31:31.774Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.4.26","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","source_modified_at":"2026-09-28T13:31:31.774Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.5.11","basis":"first unaffected version stated in the CVE record"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"version":"8.2.34"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"version":"8.3.35"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"version":"8.4.26"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","source_modified_at":"2026-09-25T18:15:30Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-mysqlnd"},"version":"8.5.11"}],"cvss":3.4,"severity":"Low","kev":{"listed":false},"epss":{"probability":0.00182,"percentile":0.07405,"score_date":"2026-10-23"},"published_at":"2026-09-25T20:48:21.777Z","modified_at":"2026-09-28T13:31:31.774Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-28T13:31:31.774Z"},{"source":"GitHub Advisory Database","url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-25T18:15:30Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1218","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","tags":["vendor-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-28T12:56:30.325753Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-28T13:31:31.774Z","content_hash":"95ea6c0fc30a42df17fc0291c1cd8554be8a59a978d7c18a94dc9ecf99291a75"}}
