Advisory

UBUNTU-CVE-2026-40687

Also known as: CVE-2026-40687

Summary

The record has no summary.

Details

In Exim before 4.99.2, when the SPA authentication driver is used with an adversarial SPA resource, there can be an out-of-bounds write that crashes the connection instance, or erroneous data processing that divulges data from uninitialized heap memory.

Severity

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

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