{"id":"CVE-2026-40685","state":"PUBLISHED","title":"In Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrusted header, because of an incor","description":"In Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrusted header, because of an incorrect implementation of \\ skipping.","publishedAt":"2026-04-30T00:00:00.000Z","updatedAt":"2026-05-01T14:26:41.873Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"mitre"},"assigner":"mitre","products":["Exim Exim"],"affected":[{"vendor":"Exim","product":"Exim","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.99.2","versionType":"semver"}]}],"references":["https://www.openwall.com/lists/oss-security/2026/04/30/21","https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment","https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57","https://exim.org/static/doc/security/CVE-2026-40685.txt"],"weaknesses":["CWE-684"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40685.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40685","state":"PUBLISHED","datePublished":"2026-04-30T00:00:00.000Z","dateUpdated":"2026-05-01T14:26:41.873Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2026-04-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrusted header, because of an incorrect implementation of \\ skipping."}],"affected":[{"vendor":"Exim","product":"Exim","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.99.2","versionType":"semver"}]}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2026/04/30/21"},{"url":"https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment"},{"url":"https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57"},{"url":"https://exim.org/static/doc/security/CVE-2026-40685.txt"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-684","description":"CWE-684 Incorrect Provision of Specified Functionality","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-05-01T01:18:39.741Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*","versionEndExcluding":"4.99.2"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-01T14:26:30.902958Z","id":"CVE-2026-40685","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-01T14:26:41.873Z"}}]}}}