| Name | CVE-2026-40685 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6265-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| exim4 (PTS) | bullseye | 4.94.2-7+deb11u3 | vulnerable |
| bullseye (security) | 4.94.2-7+deb11u5 | vulnerable | |
| bookworm, bookworm (security) | 4.96-15+deb12u9 | fixed | |
| trixie (security), trixie | 4.98.2-1+deb13u2 | fixed | |
| forky, sid | 4.99.2-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| exim4 | source | bookworm | 4.96-15+deb12u9 | DSA-6265-1 | ||
| exim4 | source | trixie | 4.98.2-1+deb13u2 | DSA-6265-1 | ||
| exim4 | source | (unstable) | 4.99.2-1 | unimportant |
Fixed by: https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57
JSON lookup support not enabled in Debian