{"schemaVersion":3,"id":"CVE-2023-42115","aliases":["UBUNTU-CVE-2023-42115","DEBIAN-CVE-2023-42115","CGA-5ph3-8jf5-q2m4","CGA-m8r4-4q37-gm6q"],"status":"published","duplicateOf":null,"title":null,"description":"Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.\n. Was ZDI-CAN-17434.","dates":{"published":"2024-05-03T02:13:23.745Z","modified":"2024-09-20T19:51:52.263Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.12088,"percentile":0.96117,"severity":"medium","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":2.127,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.09961},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1129,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.12088,"percentile":0.96117}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09961,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1129,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.11709,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.12088,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.12088,"percentile":0.96117}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"chainguard","product":"exim","name":"exim","label":"exim","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/exim","purlType":"apk","versions":[{"text":"< 4.96.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.96.1-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.96.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.96.1-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+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.97~RC1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.96-15+deb12u2 | < 4.97~RC1-2","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":"< 4.93-13ubuntu1.8","noFixRecorded":false,"fixedIn":null},{"text":"< 4.95-4ubuntu2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.93-13ubuntu1.8 | < 4.95-4ubuntu2.3","eol":null,"hubHref":null},{"vendor":"exim","product":"exim","name":"Exim","label":"exim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"exim 4.95","noFixRecorded":false,"fixedIn":null},{"text":"< 4.96.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"exim 4.95 | < 4.96.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"exim","label":"Exim","category":"server-app"}},"hubHref":"/vendor/exim/exim"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1469/","label":"www.zerodayinitiative.com/advisories/ZDI-23-1469/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Advisory","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-42115","label":"ubuntu.com/security/CVE-2023-42115","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2023/10/02/3","label":"www.openwall.com/lists/oss-security/2023/10/02/3","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6411-1","label":"ubuntu.com/security/notices/USN-6411-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-42115","label":"www.cve.org/CVERecord?id=CVE-2023-42115","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-42115","label":"security-tracker.debian.org/tracker/CVE-2023-42115","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42115.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42115.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42115","label":"nvd.nist.gov/vuln/detail/CVE-2023-42115","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5512-1","OPENSUSE-SU-2023:0293-1","OPENSUSE-SU-2024:0007-1","OPENSUSE-SU-2024:13282-1","USN-6411-1"],"duplicates":[],"related":["CGA-C42F-MXV5-3G6H","CGA-P6XJ-V8X4-6Q92","OPENSUSE-SU-2023:0293-1","OPENSUSE-SU-2024:0007-1","OPENSUSE-SU-2024:13282-1","USN-6411-1"]},"timeline":[{"kind":"published","date":"2024-05-03T02:13:23.745Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-20T19:51:52.263Z","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-21T01:14:20.984Z","stale":false,"partial":false}}