{"id":"USN-8228-1","summary":"exim4 vulnerabilities","details":"It was discovered that Exim incorrectly handled parsing malformed JSON\nin message headers. A remote attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2026-40685)\n\nIt was discovered that Exim incorrectly handled processing of UTF-8\ntrailing characters. A remote attacker could possibly use this issue to\nobtain sensitive information. (CVE-2026-40686)\n\nIt was discovered that Exim incorrectly handled SPA authenticator input.\nAn authenticated user could possibly use this issue to execute arbitrary\ncode. (CVE-2026-40687)","modified":"2026-05-20T16:04:02.980895896Z","published":"2026-05-04T11:50:57Z","related":["UBUNTU-CVE-2026-40685","UBUNTU-CVE-2026-40686","UBUNTU-CVE-2026-40687"],"upstream":["UBUNTU-CVE-2026-40685","UBUNTU-CVE-2026-40686","UBUNTU-CVE-2026-40687"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8228-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40685"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40686"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40687"}],"affected":[{"package":{"name":"exim4","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/exim4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.95-4ubuntu2.7"}]}],"versions":["4.94.2-7ubuntu2","4.95-2ubuntu2","4.95-4ubuntu1","4.95-4ubuntu2","4.95-4ubuntu2.1","4.95-4ubuntu2.2","4.95-4ubuntu2.3","4.95-4ubuntu2.4","4.95-4ubuntu2.5","4.95-4ubuntu2.6"],"ecosystem_specific":{"binaries":[{"binary_name":"exim4","binary_version":"4.95-4ubuntu2.7"},{"binary_name":"exim4-base","binary_version":"4.95-4ubuntu2.7"},{"binary_name":"exim4-config","binary_version":"4.95-4ubuntu2.7"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.95-4ubuntu2.7"},{"binary_name":"exim4-daemon-light","binary_version":"4.95-4ubuntu2.7"},{"binary_name":"eximon4","binary_version":"4.95-4ubuntu2.7"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2026-40685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-40686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-40687","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8228-1.json"}},{"package":{"name":"exim4","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/exim4?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.97-4ubuntu4.4"}]}],"versions":["4.96-17ubuntu2","4.96-17ubuntu2.1","4.97-3ubuntu1","4.97-4ubuntu1","4.97-4ubuntu3","4.97-4ubuntu4","4.97-4ubuntu4.1","4.97-4ubuntu4.2","4.97-4ubuntu4.3"],"ecosystem_specific":{"binaries":[{"binary_name":"exim4","binary_version":"4.97-4ubuntu4.4"},{"binary_name":"exim4-base","binary_version":"4.97-4ubuntu4.4"},{"binary_name":"exim4-config","binary_version":"4.97-4ubuntu4.4"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.97-4ubuntu4.4"},{"binary_name":"exim4-daemon-light","binary_version":"4.97-4ubuntu4.4"},{"binary_name":"eximon4","binary_version":"4.97-4ubuntu4.4"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"id":"CVE-2026-40685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-40686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-40687","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8228-1.json"}},{"package":{"name":"exim4","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/exim4?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.98.2-1ubuntu2.1"}]}],"versions":["4.98.1-1ubuntu2","4.98.2-1ubuntu1","4.98.2-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"exim4","binary_version":"4.98.2-1ubuntu2.1"},{"binary_name":"exim4-base","binary_version":"4.98.2-1ubuntu2.1"},{"binary_name":"exim4-config","binary_version":"4.98.2-1ubuntu2.1"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.98.2-1ubuntu2.1"},{"binary_name":"exim4-daemon-light","binary_version":"4.98.2-1ubuntu2.1"},{"binary_name":"eximon4","binary_version":"4.98.2-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:25.10","cves":[{"id":"CVE-2026-40685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-40686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-40687","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8228-1.json"}},{"package":{"name":"exim4","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/exim4?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.99.1-1ubuntu1.1"}]}],"versions":["4.98.2-1ubuntu2","4.99-4ubuntu1","4.99.1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"exim4","binary_version":"4.99.1-1ubuntu1.1"},{"binary_name":"exim4-base","binary_version":"4.99.1-1ubuntu1.1"},{"binary_name":"exim4-config","binary_version":"4.99.1-1ubuntu1.1"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.99.1-1ubuntu1.1"},{"binary_name":"exim4-daemon-light","binary_version":"4.99.1-1ubuntu1.1"},{"binary_name":"eximon4","binary_version":"4.99.1-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"id":"CVE-2026-40685","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-40686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-40687","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8228-1.json"}}],"schema_version":"1.7.5"}