{"schemaVersion":3,"id":"CVE-2025-1218","aliases":["UBUNTU-CVE-2025-1218","DEBIAN-CVE-2025-1218"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-09-25T20:48:21.777Z","modified":"2026-09-28T13:31:31.774Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.4,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","exploitability":4.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","exploitability":4.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00182,"percentile":0.0735,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00182,"percentile":0.0735}],"last30":[{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00182,"percentile":0.0735}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"debian","product":"php8.2","name":"php8.2","label":"php8.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.2","purlType":"deb","versions":[{"text":"< 8.2.34-1~deb12u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.34-1~deb12u1","eol":null,"hubHref":null},{"vendor":"debian","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.4","purlType":"deb","versions":[{"text":"< 8.4.26-1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.4.26-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.26-1~deb13u1 | < 8.4.26-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php5","name":"php5","label":"php5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.0","name":"php7.0","label":"php7.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.2","name":"php7.2","label":"php7.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.4","name":"php7.4","label":"php7.4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.4","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.1","name":"php8.1","label":"php8.1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.1","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.3","name":"php8.3","label":"php8.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.5","name":"php8.5","label":"php8.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"php_group","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.*, < 8.2.34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.*, < 8.3.35","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.*, < 8.4.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.*, < 8.5.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.*, < 8.2.34 | ≥ 8.3.*, < 8.3.35 | ≥ 8.4.*, < 8.4.26 | ≥ 8.5.*, < 8.5.11","eol":null,"hubHref":"/vendor/php_group/php"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","label":"github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-1218","label":"ubuntu.com/security/CVE-2025-1218","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-1218","label":"www.cve.org/CVERecord?id=CVE-2025-1218","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/php/php-src/blob/php-8.4.26/NEWS","label":"github.com/php/php-src/blob/php-8.4.26/NEWS","hostname":"github.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-1218","label":"security-tracker.debian.org/tracker/CVE-2025-1218","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1218","label":"nvd.nist.gov/vuln/detail/CVE-2025-1218","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0458","OPENSUSE-SU-2026:11901-1","OPENSUSE-SU-2026:22045-1","RHSA-2026:70720","SUSE-SU-2026:24158-1","SUSE-SU-2026:4602-1","SUSE-SU-2026:4603-1","SUSE-SU-2026:4651-1","USN-8936-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11901-1","OPENSUSE-SU-2026:22045-1","SUSE-SU-2026:24158-1","SUSE-SU-2026:4602-1","SUSE-SU-2026:4603-1","SUSE-SU-2026:4651-1"]},"timeline":[{"kind":"published","date":"2026-09-25T20:48:21.777Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-28T13:31:31.774Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":14,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:26:46.631Z","stale":false,"partial":false}}