{"schemaVersion":3,"id":"CVE-2023-42116","aliases":["UBUNTU-CVE-2023-42116","DEBIAN-CVE-2023-42116","CGA-655m-5r85-7v3p","CGA-px2g-v8j5-grj7"],"status":"published","duplicateOf":null,"title":null,"description":"Exim SMTP Challenge Stack-based Buffer Overflow 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 handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.\n. Was ZDI-CAN-17515.","dates":{"published":"2024-05-03T02:13:24.558Z","modified":"2025-11-04T19:21:50.417Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"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:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/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 · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/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":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/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":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03756,"percentile":0.89763,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.5980000000000006,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03158},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03617,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03756,"percentile":0.89763}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03158,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03617,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03756,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03756,"percentile":0.89763}]},"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-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.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.82-3ubuntu2.4+esm6","noFixRecorded":false,"fixedIn":null},{"text":"< 4.86.2-2ubuntu2.6+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 4.90.1-1ubuntu1.10+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.93-13ubuntu1.8","noFixRecorded":false,"fixedIn":null},{"text":"< 4.95-4ubuntu2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.82-3ubuntu2.4+esm6 | < 4.86.2-2ubuntu2.6+esm4 | < 4.90.1-1ubuntu1.10+esm1 | < 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-1470/","label":"www.zerodayinitiative.com/advisories/ZDI-23-1470/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00002.html","label":"lists.debian.org/debian-lts-announce/2023/10/msg00002.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-42116","label":"ubuntu.com/security/CVE-2023-42116","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-42116","label":"www.cve.org/CVERecord?id=CVE-2023-42116","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-42116","label":"security-tracker.debian.org/tracker/CVE-2023-42116","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42116.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42116.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42116","label":"nvd.nist.gov/vuln/detail/CVE-2023-42116","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3599-1","DSA-5512-1","OPENSUSE-SU-2023:0293-1","OPENSUSE-SU-2024:0007-1","OPENSUSE-SU-2024:13282-1","USN-6411-1"],"duplicates":[],"related":["CGA-QPCP-V5MH-CM8X","CGA-V246-RVGX-V88C","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:24.558Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T19:21:50.417Z","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-20T13:39:38.715Z","stale":false,"partial":false}}