{"schemaVersion":3,"id":"CVE-2023-42117","aliases":["UBUNTU-CVE-2023-42117","DEBIAN-CVE-2023-42117","CGA-7r29-5crr-5q79","CGA-977m-775h-4m3h","CGA-gg3x-mx2x-j8hg","CGA-m8gf-pc3r-c7pw"],"status":"published","duplicateOf":null,"title":null,"description":"Exim Improper Neutralization of Special Elements 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 memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-17554.","dates":{"published":"2024-05-03T02:13:25.385Z","modified":"2025-11-03T21:49:32.300Z","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.0679,"percentile":0.93941,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":1.07,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0572},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06543,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0679,"percentile":0.93941}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0572,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06543,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0679,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0679,"percentile":0.93941}]},"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-138","name":"Improper Neutralization of Special Elements","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as control elements or syntactic markers when they are sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/138.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":"chainguard","product":"libspf2","name":"libspf2","label":"libspf2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libspf2","purlType":"apk","versions":[{"text":"< 1.2.11-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.11-r1","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":"wolfi","product":"libspf2","name":"libspf2","label":"libspf2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libspf2","purlType":"apk","versions":[{"text":"< 1.2.11-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.11-r1","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+deb12u3","noFixRecorded":false,"fixedIn":null},{"text":"< 4.97~RC2-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.96-15+deb12u3 | < 4.97~RC2-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+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 4.86.2-2ubuntu2.6+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 4.90.1-1ubuntu1.10+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.93-13ubuntu1.9","noFixRecorded":false,"fixedIn":null},{"text":"< 4.95-4ubuntu2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.82-3ubuntu2.4+esm7 | < 4.86.2-2ubuntu2.6+esm5 | < 4.90.1-1ubuntu1.10+esm2 | < 4.93-13ubuntu1.9 | < 4.95-4ubuntu2.4","eol":null,"hubHref":null},{"vendor":"exim","product":"exim","name":"Exim","label":"exim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.96-RC1-11-315206fbf","noFixRecorded":false,"fixedIn":null},{"text":"< 4.96.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.96-RC1-11-315206fbf | < 4.96.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"exim","label":"Exim","category":"server-app"}},"hubHref":"/vendor/exim/exim"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1471/","label":"www.zerodayinitiative.com/advisories/ZDI-23-1471/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00029.html","label":"lists.debian.org/debian-lts-announce/2024/10/msg00029.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-42117","label":"ubuntu.com/security/CVE-2023-42117","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://exim.org/static/doc/security/CVE-2023-zdi.txt","label":"exim.org/static/doc/security/CVE-2023-zdi.txt","hostname":"exim.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6455-1","label":"ubuntu.com/security/notices/USN-6455-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6455-2","label":"ubuntu.com/security/notices/USN-6455-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-42117","label":"www.cve.org/CVERecord?id=CVE-2023-42117","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-42117","label":"security-tracker.debian.org/tracker/CVE-2023-42117","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42117.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42117.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42117","label":"nvd.nist.gov/vuln/detail/CVE-2023-42117","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3938-1","OPENSUSE-SU-2023:0303-1","OPENSUSE-SU-2023:0304-1","OPENSUSE-SU-2024:0007-1","OPENSUSE-SU-2024:13333-1","USN-6455-1"],"duplicates":[],"related":["CGA-3678-6PV4-QH32","CGA-F78P-R5G7-WVJW","OPENSUSE-SU-2023:0303-1","OPENSUSE-SU-2023:0304-1","OPENSUSE-SU-2024:0007-1","OPENSUSE-SU-2024:13333-1","USN-6455-1","USN-6455-2"]},"timeline":[{"kind":"published","date":"2024-05-03T02:13:25.385Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T21:49:32.300Z","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-20T21:23:10.520Z","stale":false,"partial":false}}