VDB

CVE-2026-40685

CVE-2026-40685 PUBLISHED CVSS 6.5 MEDIUM

Reported by mitre · Published April 30, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
eximAlpine4.98.2-r0
eximChainguard4.99.5-r0
EximExim4.99.2

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
EximExim0
alpineexim0
chainguardexim0
EximExim0
eximexim0
wolfiexim0

Timeline

  • Apr 30, 2026 CVE Published
  • Apr 30, 2026 PoC Published
  • May 1, 2026 Security Advisory (2 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 27, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40685
vulnetix vdb fixes CVE-2026-40685

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40685/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›