CVE-2026-42006

NameCVE-2026-42006
DescriptionAn attacker can cause uncontrolled memory usage with excessive bracing over IMAP. The fix in CVE-2026-27857 was incomplete, only blocking one way of doing this, so there was still another way left open. In particular, the fix was for closing braces, but you could still use open braces to bypass the limit. Using excessive bracing, attacker can cause memory usage up to configured memory limit. Install fixed version, or configure vsz_limit for imap process to low value. No publicly available exploits are known.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6313-1
Debian Bugs1136444

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dovecot (PTS)bullseye1:2.3.13+dfsg1-2+deb11u1vulnerable
bullseye (security)1:2.3.13+dfsg1-2+deb11u3vulnerable
bookworm1:2.3.19.1+dfsg1-2.1+deb12u5vulnerable
bookworm (security)1:2.3.19.1+dfsg1-2.1+deb12u6fixed
trixie1:2.4.1+dfsg1-6+deb13u5vulnerable
trixie (security)1:2.4.1+dfsg1-6+deb13u6fixed
forky, sid1:2.4.4+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dovecotsourcebookworm1:2.3.19.1+dfsg1-2.1+deb12u6DSA-6313-1
dovecotsourcetrixie1:2.4.1+dfsg1-6+deb13u6DSA-6313-1
dovecotsource(unstable)1:2.4.4+dfsg1-11136444

Notes

https://www.openwall.com/lists/oss-security/2026/05/12/6
Fixed by: https://github.com/dovecot/core/commit/da1438c76b797f055d4ad7f0eaa17e5e29ca31ee (2.4.4)

Search for package or bug name: Reporting problems