Vulnerability · Published Apr 30, 2026 · Assigned by mitre

CVE-2026-40685

Medium 6.5

In plain English

A medium-severity security flaw in Exim from Exim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 74.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23exim4.98.2-r0ALPINE-CVE-2026-40685
Alpine:v3.24exim4.98.2-r0ALPINE-CVE-2026-40685
Debian:12exim44.96-15+deb12u9DEBIAN-CVE-2026-40685
Debian:13exim44.98.2-1+deb13u2DEBIAN-CVE-2026-40685
Debian:14exim44.99.2-1DEBIAN-CVE-2026-40685
Ubuntu:22.04:LTSexim44.95-4ubuntu2.7UBUNTU-CVE-2026-40685
Ubuntu:24.04:LTSexim44.97-4ubuntu4.4UBUNTU-CVE-2026-40685
Ubuntu:25.10exim44.98.2-1ubuntu2.1UBUNTU-CVE-2026-40685
Ubuntu:26.04:LTSexim44.99.1-1ubuntu1.1UBUNTU-CVE-2026-40685

Affected products (as reported)

VendorProductVersions
Exim Exim 0 – before 4.99.2

Weakness: CWE-684 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

References