StackPatch is liveSee product

Back to CVE digest
CVE-2026-40685 · cross-distro fix matrix

CVE-2026-40685: It was discovered that Exim incorrectly handled parsing malformed JSON

Affects 4 Linux releases across 28 (distro × package) combinations. First disclosed: 2026-05-04.

Fix per ecosystem

Each block below is a distro release where CVE-2026-40685 has a known fix. Run the listed command on that distro to remediate.

Ubuntu jammy

Source: Ubuntu USN

  • exim4→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4
  • exim4-base→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-base
  • exim4-config→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-config
  • exim4-daemon-heavy→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-heavy
  • exim4-daemon-light→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-light
  • exim4-dev→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-dev
  • eximon4→ fixed in4.95-4ubuntu2.7USN-8228-1
    sudo apt-get install --only-upgrade -y eximon4

Ubuntu noble

Source: Ubuntu USN

  • exim4→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4
  • exim4-base→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-base
  • exim4-config→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-config
  • exim4-daemon-heavy→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-heavy
  • exim4-daemon-light→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-light
  • exim4-dev→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-dev
  • eximon4→ fixed in4.97-4ubuntu4.4USN-8228-1
    sudo apt-get install --only-upgrade -y eximon4

Ubuntu questing

Source: Ubuntu USN

  • exim4→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4
  • exim4-base→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-base
  • exim4-config→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-config
  • exim4-daemon-heavy→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-heavy
  • exim4-daemon-light→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-light
  • exim4-dev→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-dev
  • eximon4→ fixed in4.98.2-1ubuntu2.1USN-8228-1
    sudo apt-get install --only-upgrade -y eximon4

Ubuntu resolute

Source: Ubuntu USN

  • exim4→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4
  • exim4-base→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-base
  • exim4-config→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-config
  • exim4-daemon-heavy→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-heavy
  • exim4-daemon-light→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-daemon-light
  • exim4-dev→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y exim4-dev
  • eximon4→ fixed in4.99.1-1ubuntu1.1USN-8228-1
    sudo apt-get install --only-upgrade -y eximon4
Are YOU affected by CVE-2026-40685?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-40685dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)