{"schemaVersion":3,"id":"CVE-2026-40687","aliases":["UBUNTU-CVE-2026-40687","DEBIAN-CVE-2026-40687","CGA-6grc-8v5r-wx6h","CGA-6mq4-255v-rwhx","CGA-7gmh-xj9r-jp98","CGA-7p2w-2c4g-px94","CGA-7p47-m6vh-4fg5","CGA-98p9-8xj4-7jx6","CGA-cmgm-hh56-qfpm","CGA-cpxw-3v6w-j7j2","CGA-g3rc-mjhr-4mx6","CGA-gh7g-333c-36r6","CGA-gq39-xqv4-gx84","CGA-h2xg-fvp9-wf45","CGA-jwq3-gh32-j6xr","CGA-pj67-74q5-jqg7","CGA-q7p4-p7fw-6m6h","CGA-qm6p-6h6g-hvc9","CGA-r58c-6244-9phf","CGA-w9r5-4729-wpwg","CGA-x32x-xm7p-x6p6","CGA-x953-x8pm-mmgp"],"status":"published","duplicateOf":null,"title":null,"description":"In Exim before 4.99.2, when the SPA authentication driver is used with an adversarial SPA resource, there can be an out-of-bounds write that crashes the connection instance, or erroneous data processing that divulges data from uninitialized heap memory.","dates":{"published":"2026-04-30T00:00:00.000Z","modified":"2026-05-01T14:25:12.276Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00672,"percentile":0.51145,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.29900000000000004,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00373},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00672,"percentile":0.51145}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00672,"percentile":0.51145}]},"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-909","name":"Missing Initialization of Resource","description":"The product does not initialize a critical resource.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/909.html"}],"affected":[{"vendor":"chainguard","product":"exim","name":"exim","label":"exim","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-cdb","name":"exim-cdb","label":"exim-cdb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-cdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-dbmdb","name":"exim-dbmdb","label":"exim-dbmdb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-dbmdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-dnsdb","name":"exim-dnsdb","label":"exim-dnsdb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-dnsdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-doc","name":"exim-doc","label":"exim-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-doc","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-mysql","name":"exim-mysql","label":"exim-mysql","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-mysql","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-pgsql","name":"exim-pgsql","label":"exim-pgsql","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-pgsql","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-scripts","name":"exim-scripts","label":"exim-scripts","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-scripts","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-sqlite","name":"exim-sqlite","label":"exim-sqlite","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-sqlite","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"exim-utils","name":"exim-utils","label":"exim-utils","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim-utils","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim","name":"exim","label":"exim","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-cdb","name":"exim-cdb","label":"exim-cdb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-cdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-dbmdb","name":"exim-dbmdb","label":"exim-dbmdb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-dbmdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-dnsdb","name":"exim-dnsdb","label":"exim-dnsdb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-dnsdb","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-doc","name":"exim-doc","label":"exim-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-doc","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-mysql","name":"exim-mysql","label":"exim-mysql","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-mysql","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-pgsql","name":"exim-pgsql","label":"exim-pgsql","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-pgsql","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-scripts","name":"exim-scripts","label":"exim-scripts","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-scripts","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-sqlite","name":"exim-sqlite","label":"exim-sqlite","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-sqlite","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"exim-utils","name":"exim-utils","label":"exim-utils","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/exim-utils","purlType":"apk","versions":[{"text":"< 4.99.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"exim4","name":"exim4","label":"exim4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/exim4","purlType":"deb","versions":[{"text":"< 4.96-15+deb12u9","noFixRecorded":false,"fixedIn":null},{"text":"< 4.98.2-1+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.99.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.96-15+deb12u9 | < 4.98.2-1+deb13u2 | < 4.99.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"exim4","name":"exim4","label":"exim4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/exim4","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.93-13ubuntu1.12+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.95-4ubuntu2.7","noFixRecorded":false,"fixedIn":null},{"text":"< 4.97-4ubuntu4.4","noFixRecorded":false,"fixedIn":null},{"text":"< 4.98.2-1ubuntu2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.99.1-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.93-13ubuntu1.12+esm1 | < 4.95-4ubuntu2.7 | < 4.97-4ubuntu4.4 | < 4.98.2-1ubuntu2.1 | < 4.99.1-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"exim","product":"exim","name":"Exim","label":"exim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.99.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.99.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"exim","label":"Exim","category":"server-app"}},"hubHref":"/vendor/exim/exim"}],"affectedCount":23,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.openwall.com/lists/oss-security/2026/04/30/21","label":"www.openwall.com/lists/oss-security/2026/04/30/21","hostname":"www.openwall.com","tags":["Mailing List","Third Party Advisory"]},{"url":"https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment","label":"exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment","hostname":"exim.org","tags":["Vendor Advisory"]},{"url":"https://code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505","label":"code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505","hostname":"code.exim.org","tags":["Patch"]},{"url":"https://exim.org/static/doc/security/CVE-2026-40687.txt","label":"exim.org/static/doc/security/CVE-2026-40687.txt","hostname":"exim.org","tags":["Broken Link"]},{"url":"https://ubuntu.com/security/CVE-2026-40687","label":"ubuntu.com/security/CVE-2026-40687","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40687","label":"www.cve.org/CVERecord?id=CVE-2026-40687","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://lists.exim.org/lurker/message/20260429.121733.f58d9686.en.html","label":"lists.exim.org/lurker/message/20260429.121733.f58d9686.en.html","hostname":"lists.exim.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8228-1","label":"ubuntu.com/security/notices/USN-8228-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8382-1","label":"ubuntu.com/security/notices/USN-8382-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40687","label":"security-tracker.debian.org/tracker/CVE-2026-40687","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8382-1"],"duplicates":[],"related":["CGA-Q94V-QM86-6J4Q","USN-8228-1","USN-8382-1"]},"timeline":[{"kind":"published","date":"2026-04-30T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-01T14:25:12.276Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:09:44.510Z","stale":false,"partial":false}}