CVEfocus › CVE database › CVE-2026-40685

CVE-2026-40685

CVSS 6.5 MediumEPSS 0.6% (higher than 41% of CVEs)Published 2026-04-30Updated 2026-05-01Assigner: mitre

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.

CWE-684

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04exim4Fixed4.99.1-1ubuntu1.1UBUNTU-CVE-2026-40685
Ubuntu 25.10exim4Fixed4.98.2-1ubuntu2.1UBUNTU-CVE-2026-40685
Ubuntu 24.04exim4Fixed4.97-4ubuntu4.4UBUNTU-CVE-2026-40685
Ubuntu 22.04exim4Fixed4.95-4ubuntu2.7UBUNTU-CVE-2026-40685
Ubuntu 20.04exim4Fix pending4.93-13ubuntu1.12+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-40685
Ubuntu 18.04exim4Fix pendingUBUNTU-CVE-2026-40685
Ubuntu 16.04exim4Fix pendingUBUNTU-CVE-2026-40685
Ubuntu 14.04exim4Fix pendingUBUNTU-CVE-2026-40685
Debian 14exim4Fixed4.99.2-1DEBIAN-CVE-2026-40685
Debian 13exim4Fixed4.98.2-1+deb13u2DEBIAN-CVE-2026-40685
Debian 12exim4Fixed4.96-15+deb12u9DEBIAN-CVE-2026-40685
Alpine Linux 3.24eximFixed4.98.2-r0ALPINE-CVE-2026-40685
Alpine Linux 3.23eximFixed4.98.2-r0ALPINE-CVE-2026-40685

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.