{"id":"CVE-2026-40685","sourceIdentifier":"cve@mitre.org","published":"2026-04-30T22:16:25.633","lastModified":"2026-11-11T21:10:00.200","vulnStatus":"Analyzed","cveTags":[],"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."},{"lang":"es","value":"En Exim anterior a 4.99.2, cuando la búsqueda JSON está habilitada, puede ocurrir una escritura fuera de límites en el heap cuando un operador JSON encuentra JSON malformado en una cabecera no confiable, debido a una implementación incorrecta del salto de barra invertida."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"Exim","product":"Exim","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"4.99.2","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":4.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-01T14:26:30.902958Z","id":"CVE-2026-40685","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@mitre.org","type":"Secondary","description":[{"lang":"en","value":"CWE-684"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*","versionEndExcluding":"4.99.2","matchCriteriaId":"E48EAA99-95DA-4695-BBEA-16D09AA0A508"}]}]}],"references":[{"url":"https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://exim.org/static/doc/security/CVE-2026-40685.txt","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/30/21","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]}]}