p PatchFirst

CVE-2026-66140

CVE-2026-66140

CVSS 8.4 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • eximUpdate to 4.99.5
  • exim Alpine 3.24Update to 4.98.5-r0
  • exim4 Debian 12Update to 4.96-15+deb12u11
  • exim4 Debian 13Update to 4.98.2-1+deb13u4
  • and 8 more

Check the installed version:

apk list -I -o exim
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="exim4"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to queue-name are mishandled.

Published
Updated

Fixes in distributions

  • DLA-4940-1 · Debian 12 ·
  • DSA-6400-1 · Debian 13 ·
  • USN-8590-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS ·

Stack: system

Affected products and versions

  • exim

    Versions
    • ≥ 4.88, < 4.99.5: Affected (custom)

    Update to 4.99.5

  • exim Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 4.98.5-r0

    Update to 4.98.5-r0

  • exim4 Debian 12

    Versions
    • 4.96-15
    • 4.96-15+deb12u1
    • 4.96-15+deb12u10
    • 4.96-15+deb12u2
    • 4.96-15+deb12u3
    • 4.96-15+deb12u4
    All versions (11)
    • 4.96-15+deb12u5
    • 4.96-15+deb12u6
    • 4.96-15+deb12u7
    • 4.96-15+deb12u8
    • 4.96-15+deb12u9
    Affected ranges
    • ECOSYSTEM: < 4.96-15+deb12u11

    Update to 4.96-15+deb12u11

  • exim4 Debian 13

    Versions
    • 4.98.2-1
    • 4.98.2-1+deb13u1
    • 4.98.2-1+deb13u2
    • 4.98.2-1+deb13u3
    Affected ranges
    • ECOSYSTEM: < 4.98.2-1+deb13u4

    Update to 4.98.2-1+deb13u4

  • exim4 Debian 14

    Versions
    • 4.98.2-1
    • 4.98.2-1+hurd.1
    • 4.98.2-2
    • 4.99-1
    • 4.99-2
    • 4.99-3
    All versions (34)
    • 4.99-4
    • 4.99-4~bpo13+1
    • 4.99-5
    • 4.99-6
    • 4.99-6~bpo13+1
    • 4.99-7
    • 4.99-7~bpo13+1
    • 4.99.1-1
    • 4.99.1-1~bpo13+1
    • 4.99.1-2
    • 4.99.1-3
    • 4.99.1-4
    • 4.99.1-5
    • 4.99.1-6
    • 4.99.2-1
    • 4.99.2-1~bpo13+1
    • 4.99.2-2
    • 4.99.2-2~bpo13+1
    • 4.99.3-1
    • 4.99.3-2
    • 4.99.3-2~bpo13+1
    • 4.99.4-1
    • 4.99.4-1~bpo13+1
    • 4.99.4-2~bpo13+1
    • 4.99~RC1-1
    • 4.99~RC2-1
    • 4.99~RC3-1
    • 4.99~RC3-2
    Affected ranges
    • ECOSYSTEM: < 4.99.4-2

    Update to 4.99.4-2

  • exim4 Ubuntu Pro 14.04 LTS

    Versions
    • 4.80-7ubuntu3
    • 4.80-7ubuntu4
    • 4.80-9ubuntu1
    • 4.80-9ubuntu2
    • 4.82-3ubuntu1
    • 4.82-3ubuntu2
    All versions (18)
    • 4.82-3ubuntu2.1
    • 4.82-3ubuntu2.2
    • 4.82-3ubuntu2.3
    • 4.82-3ubuntu2.4
    • 4.82-3ubuntu2.4+esm1
    • 4.82-3ubuntu2.4+esm2
    • 4.82-3ubuntu2.4+esm3
    • 4.82-3ubuntu2.4+esm4
    • 4.82-3ubuntu2.4+esm6
    • 4.82-3ubuntu2.4+esm7
    • 4.82-3ubuntu2.4+esm8
    • 4.82-3ubuntu2.4+esm9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exim4 Ubuntu Pro 16.04 LTS

    Versions
    • 4.86-3ubuntu1
    • 4.86-7ubuntu1
    • 4.86-7ubuntu2
    • 4.86-7ubuntu3
    • 4.86.2-2ubuntu1
    • 4.86.2-2ubuntu2
    All versions (20)
    • 4.86.2-2ubuntu2.1
    • 4.86.2-2ubuntu2.2
    • 4.86.2-2ubuntu2.3
    • 4.86.2-2ubuntu2.4
    • 4.86.2-2ubuntu2.5
    • 4.86.2-2ubuntu2.6
    • 4.86.2-2ubuntu2.6+esm1
    • 4.86.2-2ubuntu2.6+esm2
    • 4.86.2-2ubuntu2.6+esm4
    • 4.86.2-2ubuntu2.6+esm5
    • 4.86.2-2ubuntu2.6+esm6
    • 4.86.2-2ubuntu2.6+esm7
    • 4.86.2-2ubuntu2.6+esm8
    • 4.86.2-2ubuntu2.6+esm9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exim4 Ubuntu Pro 18.04 LTS

    Versions
    • 4.89-5ubuntu1
    • 4.89-9ubuntu1
    • 4.89-9ubuntu2
    • 4.89-9ubuntu3
    • 4.89-9ubuntu4
    • 4.90.1-1ubuntu1
    All versions (20)
    • 4.90.1-1ubuntu1.1
    • 4.90.1-1ubuntu1.2
    • 4.90.1-1ubuntu1.3
    • 4.90.1-1ubuntu1.4
    • 4.90.1-1ubuntu1.5
    • 4.90.1-1ubuntu1.8
    • 4.90.1-1ubuntu1.9
    • 4.90.1-1ubuntu1.10
    • 4.90.1-1ubuntu1.10+esm1
    • 4.90.1-1ubuntu1.10+esm2
    • 4.90.1-1ubuntu1.10+esm3
    • 4.90.1-1ubuntu1.10+esm4
    • 4.90.1-1ubuntu1.10+esm5
    • 4.90.1-1ubuntu1.10+esm6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exim4 Ubuntu Pro 20.04 LTS

    Versions
    • 4.92.1-1ubuntu3
    • 4.92.1-1ubuntu4
    • 4.93~RC2-1ubuntu1
    • 4.93-9ubuntu1
    • 4.93-11ubuntu1
    • 4.93-12ubuntu1
    All versions (17)
    • 4.93-13ubuntu1
    • 4.93-13ubuntu1.1
    • 4.93-13ubuntu1.5
    • 4.93-13ubuntu1.6
    • 4.93-13ubuntu1.7
    • 4.93-13ubuntu1.8
    • 4.93-13ubuntu1.9
    • 4.93-13ubuntu1.10
    • 4.93-13ubuntu1.11
    • 4.93-13ubuntu1.12
    • 4.93-13ubuntu1.12+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exim4 Ubuntu 22.04 LTS

    Versions
    • 4.94.2-7ubuntu2
    • 4.95-2ubuntu2
    • 4.95-4ubuntu1
    • 4.95-4ubuntu2
    • 4.95-4ubuntu2.1
    • 4.95-4ubuntu2.2
    All versions (14)
    • 4.95-4ubuntu2.3
    • 4.95-4ubuntu2.4
    • 4.95-4ubuntu2.5
    • 4.95-4ubuntu2.6
    • 4.95-4ubuntu2.7
    • 4.95-4ubuntu2.8
    • 4.95-4ubuntu2.9
    • 4.95-4ubuntu2.10
    Affected ranges
    • ECOSYSTEM: < 4.95-4ubuntu2.11

    Update to 4.95-4ubuntu2.11

  • exim4 Ubuntu 24.04 LTS

    Versions
    • 4.96-17ubuntu2
    • 4.96-17ubuntu2.1
    • 4.97-3ubuntu1
    • 4.97-4ubuntu1
    • 4.97-4ubuntu3
    • 4.97-4ubuntu4
    All versions (12)
    • 4.97-4ubuntu4.1
    • 4.97-4ubuntu4.2
    • 4.97-4ubuntu4.3
    • 4.97-4ubuntu4.4
    • 4.97-4ubuntu4.5
    • 4.97-4ubuntu4.6
    Affected ranges
    • ECOSYSTEM: < 4.97-4ubuntu4.7

    Update to 4.97-4ubuntu4.7

  • exim4 Ubuntu 26.04 LTS

    Versions
    • 4.98.2-1ubuntu2
    • 4.99-4ubuntu1
    • 4.99.1-1ubuntu1
    • 4.99.1-1ubuntu1.1
    • 4.99.1-1ubuntu1.2
    • 4.99.1-1ubuntu1.3
    Affected ranges
    • ECOSYSTEM: < 4.99.1-1ubuntu1.4

    Update to 4.99.1-1ubuntu1.4

Original sources

Check your server →