CVE-2025-30189

NameCVE-2025-30189
DescriptionWhen cache is enabled, some passdb/userdb drivers incorrectly cache all users with same cache key, causing wrong cached information to be used for these users. After cached login, all subsequent logins are for same user. Install fixed version or disable caching either globally or for the impacted passdb/userdb drivers. 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-6019-1
Debian Bugs1115474

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dovecot (PTS)bullseye1:2.3.13+dfsg1-2+deb11u1fixed
bullseye (security)1:2.3.13+dfsg1-2+deb11u2fixed
bookworm, bookworm (security)1:2.3.19.1+dfsg1-2.1+deb12u1fixed
trixie1:2.4.1+dfsg1-6+deb13u2fixed
trixie (security)1:2.4.1+dfsg1-6+deb13u1fixed
forky1:2.4.1+dfsg1-9fixed
sid1:2.4.2+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dovecotsourcebullseye(not affected)
dovecotsourcebookworm(not affected)
dovecotsourcetrixie1:2.4.1+dfsg1-6+deb13u1DSA-6019-1
dovecotsource(unstable)1:2.4.1+dfsg1-71115474

Notes

[bookworm] - dovecot <not-affected> (Vulnerable code introduced later)
[bullseye] - dovecot <not-affected> (Vulnerable code introduced later)
Introduced by: https://github.com/dovecot/core/commit/2e298e7ee98b6df61cf85117f000290d60a473b8 (2.4.1)
Fixed by: https://github.com/dovecot/core/commit/a70ce7d3e2f983979e971414c5892c4e30197231

Search for package or bug name: Reporting problems