---
title: CVE-2026-40017
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-40017
---

# CVE-2026-40017

Publication date 28 August 2026

Last updated 13 November 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2026-40017#impact-score)

Toggle side navigation

## Description

An attacker that can send mail to a user can craft a message header whose
values are chosen to collide in an internal hash table, which makes the
IMAP THREAD command consume CPU disproportionate to the size of the
message. This is a separate issue from CVE-2026-40014 and is not addressed
by that fix. Whenever a mail client issues a THREAD command on the affected
mailbox, this can cause degradation or denial of service for IMAP. Monitor
system for abnormal CPU usage, kill the offending process and remove the
offending message from the affected mailbox. Update to non-vulnerable
version. No publicly available exploits are known.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| dovecot | 26.10 stonking | Not affected |
| 26.04 LTS resolute | Needs evaluation |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2026-40017#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| dovecot | * Upstream:   [a308c4b](http://github.com/dovecot/core/commit/a308c4bb8d7a3ba0a2c6a7bcd1456d6730261f60) * Upstream:   [7de0c5f](http://github.com/dovecot/core/commit/7de0c5f0f5f386cbc11bfb30f422e575d80ed150) * Upstream:   [3564683](http://github.com/dovecot/core/commit/356468362b39241a5f35f9947fd2679cd09b1b22) * Upstream:   [ad4f4f9](http://github.com/dovecot/core/commit/ad4f4f95202d4030f1b10ba2bbc0d21bf97bfa79) * Upstream:   [9896a67](http://github.com/dovecot/core/commit/9896a67986a405c33c2a7fcda030d451df689503) * Upstream:   [9c50e0f](http://github.com/dovecot/core/commit/9c50e0f64f35485f27208732cc8c694add5fc133) * Upstream:   [d34ac20](http://github.com/dovecot/core/commit/d34ac20f89bef60f91cd898e431018ee57061125) * Upstream:   [0ad27eb](http://github.com/dovecot/core/commit/0ad27eb7e68e9999f7979d38b5d2d87c18bc9219) * Upstream:   [ac5ee9f](http://github.com/dovecot/core/commit/ac5ee9f37a6afadf23722a7ed55932a6afcf6ffe) * Upstream:   [6de4987](http://github.com/dovecot/core/commit/6de4987bd0d4841708d142d1b8e6ca966959e923) * Upstream:   [618744e](http://github.com/dovecot/core/commit/618744e18bd4fb2942070b3a2cd2db819b12506f) * Upstream:   [e9fb943](http://github.com/dovecot/core/commit/e9fb943f886635409d21f936f97b35df2f61f373) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40017)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-40017)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-40017)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-40017)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-40017>
