CVE-2026-40685
MEDIUM 6.5 ALL-YEARSIn 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.
Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.
Exploitation likelihood
0.3%chance of exploitation in 30 days · 25th percentile
Impact if exploited
6.5CVSS 3.1 · MEDIUM · CNA
- ConfidentialityNone
- IntegrityLow
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-684: Incorrect Provision of Specified Functionality
- CWE-787: Out-of-bounds write
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
References and research data (JSON) · Change history
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2026-40685 · Updated 2026-05-05T15:09:36+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Exim | Exim | < 4.99.2 |
All CVSS metrics
- MEDIUM 6.5 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H - MEDIUM 6.5 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H - CRITICAL 9.8 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57 CVE record · mitre · Updated 2026-05-01T01:18:39.741Z
NVD · CVE-2026-40685 · Updated 2026-11-11T21:10:00.200
Advisories
- https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment CVE record · mitre · Updated 2026-05-01T01:18:39.741Z
NVD · CVE-2026-40685 · Updated 2026-11-11T21:10:00.200 - https://www.openwall.com/lists/oss-security/2026/04/30/21 CVE record · mitre · Updated 2026-05-01T01:18:39.741Z
NVD · CVE-2026-40685 · Updated 2026-11-11T21:10:00.200 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40685.json Red Hat · CVE-2026-40685 · Updated 2026-05-05T15:09:36+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-26443 EUVD · EUVD-2026-26443
Technical & other
- https://exim.org/static/doc/security/CVE-2026-40685.txt CVE record · mitre · Updated 2026-05-01T01:18:39.741Z
NVD · CVE-2026-40685 · Updated 2026-11-11T21:10:00.200 - https://access.redhat.com/security/cve/CVE-2026-40685 Red Hat · CVE-2026-40685 · Updated 2026-05-05T15:09:36+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-40685 Red Hat · CVE-2026-40685 · Updated 2026-05-05T15:09:36+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS