Advisory

UBUNTU-CVE-2026-40685

Also known as: CVE-2026-40685

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2026-04-29 12:00 UTC
Modified
2026-06-04 02:14 UTC

Affected packages and fixes

exim4

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 4.95-4ubuntu2.7 (ecosystem)

Fixed versions

4.95-4ubuntu2.7

Fix

  • Fixed version 4.95-4ubuntu2.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exim4

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 4.97-4ubuntu4.4 (ecosystem)

Fixed versions

4.97-4ubuntu4.4

Fix

  • Fixed version 4.97-4ubuntu4.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exim4

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 4.98.2-1ubuntu2.1 (ecosystem)

Fixed versions

4.98.2-1ubuntu2.1

Fix

  • Fixed version 4.98.2-1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exim4

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 4.99.1-1ubuntu1.1 (ecosystem)

Fixed versions

4.99.1-1ubuntu1.1

Fix

  • Fixed version 4.99.1-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences