CVE-2025-30189
When cache is enabled, some passdb/userdb drivers incorrectly cache all users with same cache key...
When 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.4
When 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.
- Record
CVE-2025-30189- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-1250
- Updated
- 2026-11-02
EUVDEUVD-2025-37318
7.4
When 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.
- Record
EUVD-2025-37318- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-396v-898v-98hg
7.4
When cache is enabled, some passdb/userdb drivers incorrectly cache all users with same cache key...
When 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.
- Record
GHSA-396v-898v-98hg- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-1250
- Updated
- 2026-11-02
NVD
7.4
When 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.
- Record
CVE-2025-30189- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-1250
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-30189
7.4
When 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.
- Record
ALPINE-CVE-2025-30189- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-30189
7.4
When 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.
- Record
DEBIAN-CVE-2025-30189- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2025-30189
7.4
When 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.
- Record
UBUNTU-CVE-2025-30189- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVAZL-69833 No score
CVE-2025-30189 affecting package dovecot 2.3.20-1
When 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.
- Record
AZL-69833- Updated
- 2026-11-02
OSVAZL-69835 No score
CVE-2025-30189 affecting package dovecot 2.3.20-1
When 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.
- Record
AZL-69835- Updated
- 2026-11-05
OSVopenSUSE-SU-2025:15676-1 No score
dovecot24-2.4.2-1.1 on GA media
These are all security issues fixed in the dovecot24-2.4.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15676-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025-20113-1 No score
Security update for dovecot24
This update for dovecot24 fixes the following issues:
- Update dovecot to 2.4.2:
- CVE-2025-30189: Fixed users cached with same cache key when auth cache was enabled (bsc#1252839)
- Changes
- auth: Remove proxy_always field.
- config: Change settings history parsing to use python3.
- doveadm: Print table formatter - Print empty values as "-".
- imapc: Propagate remote error codes properly.
- lda: Default mail_home=$HOME environment if not using userdb lookup
- lib-dcrypt: Salt for new version 2 keys has been increased to 16 bytes.
- lib-dregex: Add libpcre2 based regular expression support to Dovecot, if the library is missing, disable all regular expressions. This adds libpcre2-32 as build dependency.
- lib-oauth2: jwt - Allow nbf and iat to point 1 second into future.
- lib: Replace libicu with our own unicode library. Removes libicu as build dependency.
- login-common: If proxying fails due to remote having invalid SSL cert, don't reconnect.
- New features
- auth: Add ssl_client_cert_fp and ssl_client_cert_pubkey_fp fields
- config: Add support for $SET:filter/path/setting.
- config: Improve @group includes to work with overwriting their settings.
- doveadm kick: Add support for kicking multiple usernames
- doveadm mailbox status: Add support for deleted status item.
- imap, imap-client: Add experimental partial IMAP4rev2 support.
- imap: Implement support for UTF8=ACCEPT for APPEND
- lib-oauth2, oauth2: Add oauth2_token_expire_grace setting.
- lmtp: lmtp-client - Support command pipelining.
- login-common: Support local/remote blocks better.
- master: accept() unix/inet connections before creating child process to handle it. This reduces timeouts when child processes are slow to spawn themselves.
- Bug fixes
- SMTPUTF8 was accepted even when it wasn't enabled.
- auth, *-login: Direct logging with -L parameter was not working.
- auth: Crash occured when OAUTH token validation failed with oauth2_use_worker_with_mech=yes.
- auth: Invalid field handling crashes were fixed.
- auth: ldap - Potential crash could happen at deinit.
- auth: mech-gssapi - Server sending empty initial response would cause errors.
- auth: mech-winbind - GSS-SPNEGO mechanism was erroneously marked as
- not accepting NUL.
- config: Multiple issues with $SET handling has been fixed.
- configure: Building without LDAP didn't work.
- doveadm: If source user didn't exist, a crash would occur.
- imap, pop3, submission, imap-urlauth: USER environment usage was broken when running standalone.
- imap-hibernate: Statistics would get truncated on unhibernation.
- imap: "SEARCH MIMEPART FILENAME ENDS" command could have accessed memory outside allocated buffer, resulting in a crash.
- imapc: Fetching partial headers would cause other cached headers to be cached empty, breaking e.g. imap envelope responses when caching to disk.
- imapc: Shared namespace's INBOX mailbox was not always uppercased.
- imapc: imapc_features=guid-forced GUID generation was not working correctly.
- lda: USER environment was not accepted if -d hasn't been specified.
- lib-http: http-url - Significant path percent encoding through parse and create was not preserved. This is mainly important for Dovecot's Lua bindings for lib-http.
- lib-settings: Crash would occur when using %variables in SET_FILE type settings.
- lib-storage: Attachment flags were attempted to be added for readonly mailboxes with mail_attachment_flags=add-flags.
- lib-storage: Root directory for unusable shared namespaces was unnecessarily attempted to be created.
- lib: Crash would occur when config was reloaded and logging to syslog.
- login-common:…
- Record
openSUSE-SU-2025-20113-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:20113-1 No score
Security update for dovecot24
This update for dovecot24 fixes the following issues:
- Update dovecot to 2.4.2:
- CVE-2025-30189: Fixed users cached with same cache key when auth cache was enabled (bsc#1252839)
- Changes
- auth: Remove proxy_always field.
- config: Change settings history parsing to use python3.
- doveadm: Print table formatter - Print empty values as "-".
- imapc: Propagate remote error codes properly.
- lda: Default mail_home=$HOME environment if not using userdb lookup
- lib-dcrypt: Salt for new version 2 keys has been increased to 16 bytes.
- lib-dregex: Add libpcre2 based regular expression support to Dovecot, if the library is missing, disable all regular expressions. This adds libpcre2-32 as build dependency.
- lib-oauth2: jwt - Allow nbf and iat to point 1 second into future.
- lib: Replace libicu with our own unicode library. Removes libicu as build dependency.
- login-common: If proxying fails due to remote having invalid SSL cert, don't reconnect.
- New features
- auth: Add ssl_client_cert_fp and ssl_client_cert_pubkey_fp fields
- config: Add support for $SET:filter/path/setting.
- config: Improve @group includes to work with overwriting their settings.
- doveadm kick: Add support for kicking multiple usernames
- doveadm mailbox status: Add support for deleted status item.
- imap, imap-client: Add experimental partial IMAP4rev2 support.
- imap: Implement support for UTF8=ACCEPT for APPEND
- lib-oauth2, oauth2: Add oauth2_token_expire_grace setting.
- lmtp: lmtp-client - Support command pipelining.
- login-common: Support local/remote blocks better.
- master: accept() unix/inet connections before creating child process to handle it. This reduces timeouts when child processes are slow to spawn themselves.
- Bug fixes
- SMTPUTF8 was accepted even when it wasn't enabled.
- auth, *-login: Direct logging with -L parameter was not working.
- auth: Crash occured when OAUTH token validation failed with oauth2_use_worker_with_mech=yes.
- auth: Invalid field handling crashes were fixed.
- auth: ldap - Potential crash could happen at deinit.
- auth: mech-gssapi - Server sending empty initial response would cause errors.
- auth: mech-winbind - GSS-SPNEGO mechanism was erroneously marked as
- not accepting NUL.
- config: Multiple issues with $SET handling has been fixed.
- configure: Building without LDAP didn't work.
- doveadm: If source user didn't exist, a crash would occur.
- imap, pop3, submission, imap-urlauth: USER environment usage was broken when running standalone.
- imap-hibernate: Statistics would get truncated on unhibernation.
- imap: "SEARCH MIMEPART FILENAME ENDS" command could have accessed memory outside allocated buffer, resulting in a crash.
- imapc: Fetching partial headers would cause other cached headers to be cached empty, breaking e.g. imap envelope responses when caching to disk.
- imapc: Shared namespace's INBOX mailbox was not always uppercased.
- imapc: imapc_features=guid-forced GUID generation was not working correctly.
- lda: USER environment was not accepted if -d hasn't been specified.
- lib-http: http-url - Significant path percent encoding through parse and create was not preserved. This is mainly important for Dovecot's Lua bindings for lib-http.
- lib-settings: Crash would occur when using %variables in SET_FILE type settings.
- lib-storage: Attachment flags were attempted to be added for readonly mailboxes with mail_attachment_flags=add-flags.
- lib-storage: Root directory for unusable shared namespaces was unnecessarily attempted to be created.
- lib: Crash would occur when config was reloaded and logging to syslog.
- login-common:…
- Record
openSUSE-SU-2025:20113-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:21159-1 No score
Security update for dovecot24
This update for dovecot24 fixes the following issues:
- Update dovecot to 2.4.2:
- CVE-2025-30189: Fixed users cached with same cache key when auth cache was enabled (bsc#1252839)
- Changes
- auth: Remove proxy_always field.
- config: Change settings history parsing to use python3.
- doveadm: Print table formatter - Print empty values as "-".
- imapc: Propagate remote error codes properly.
- lda: Default mail_home=$HOME environment if not using userdb lookup
- lib-dcrypt: Salt for new version 2 keys has been increased to 16 bytes.
- lib-dregex: Add libpcre2 based regular expression support to Dovecot, if the library is missing, disable all regular expressions. This adds libpcre2-32 as build dependency.
- lib-oauth2: jwt - Allow nbf and iat to point 1 second into future.
- lib: Replace libicu with our own unicode library. Removes libicu as build dependency.
- login-common: If proxying fails due to remote having invalid SSL cert, don't reconnect.
- New features
- auth: Add ssl_client_cert_fp and ssl_client_cert_pubkey_fp fields
- config: Add support for $SET:filter/path/setting.
- config: Improve @group includes to work with overwriting their settings.
- doveadm kick: Add support for kicking multiple usernames
- doveadm mailbox status: Add support for deleted status item.
- imap, imap-client: Add experimental partial IMAP4rev2 support.
- imap: Implement support for UTF8=ACCEPT for APPEND
- lib-oauth2, oauth2: Add oauth2_token_expire_grace setting.
- lmtp: lmtp-client - Support command pipelining.
- login-common: Support local/remote blocks better.
- master: accept() unix/inet connections before creating child process to handle it. This reduces timeouts when child processes are slow to spawn themselves.
- Bug fixes
- SMTPUTF8 was accepted even when it wasn't enabled.
- auth, *-login: Direct logging with -L parameter was not working.
- auth: Crash occured when OAUTH token validation failed with oauth2_use_worker_with_mech=yes.
- auth: Invalid field handling crashes were fixed.
- auth: ldap - Potential crash could happen at deinit.
- auth: mech-gssapi - Server sending empty initial response would cause errors.
- auth: mech-winbind - GSS-SPNEGO mechanism was erroneously marked as
- not accepting NUL.
- config: Multiple issues with $SET handling has been fixed.
- configure: Building without LDAP didn't work.
- doveadm: If source user didn't exist, a crash would occur.
- imap, pop3, submission, imap-urlauth: USER environment usage was broken when running standalone.
- imap-hibernate: Statistics would get truncated on unhibernation.
- imap: "SEARCH MIMEPART FILENAME ENDS" command could have accessed memory outside allocated buffer, resulting in a crash.
- imapc: Fetching partial headers would cause other cached headers to be cached empty, breaking e.g. imap envelope responses when caching to disk.
- imapc: Shared namespace's INBOX mailbox was not always uppercased.
- imapc: imapc_features=guid-forced GUID generation was not working correctly.
- lda: USER environment was not accepted if -d hasn't been specified.
- lib-http: http-url - Significant path percent encoding through parse and create was not preserved. This is mainly important for Dovecot's Lua bindings for lib-http.
- lib-settings: Crash would occur when using %variables in SET_FILE type settings.
- lib-storage: Attachment flags were attempted to be added for readonly mailboxes with mail_attachment_flags=add-flags.
- lib-storage: Root directory for unusable shared namespaces was unnecessarily attempted to be created.
- lib: Crash would occur when config was reloaded and logging to syslog.
- login-common:…
- Record
SUSE-SU-2025:21159-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dovecotAlpine:v3.23 |
before 2.4.2-r0 | 2.4.2-r0 |
dovecotAlpine:v3.24 |
before 2.4.2-r0 | 2.4.2-r0 |
dovecotAzure Linux:2 |
through 2.3.20-1 | None known |
dovecotAzure Linux:3 |
through 2.3.20-1 | None known |
dovecotDebian:13 |
before 1:2.4.1+dfsg1-6+deb13u1, plus listed versions 1:2.4.1+dfsg1-6 |
1:2.4.1+dfsg1-6+deb13u1 |
dovecotDebian:14 |
before 1:2.4.1+dfsg1-7, plus listed versions 1:2.4.1+dfsg1-6 |
1:2.4.1+dfsg1-7 |
dovecot24SUSE:Linux Enterprise Server 16.0 |
before 2.4.2-160000.1.1 | 2.4.2-160000.1.1 |
dovecot24SUSE:Linux Enterprise Server for SAP applications 16.0 |
before 2.4.2-160000.1.1 | 2.4.2-160000.1.1 |
dovecotUbuntu:25.10 |
before 1:2.4.1+dfsg1-5ubuntu4, plus listed versions 1:2.3.21.1+dfsg1-1ubuntu21:2.4.1+dfsg1-5ubuntu11:2.4.1+dfsg1-5ubuntu3 |
1:2.4.1+dfsg1-5ubuntu4 |
dovecot24openSUSE:Tumbleweed |
before 2.4.2-1.1 | 2.4.2-1.1 |
dovecot24openSUSE:Leap 16.0 |
before 2.4.2-160000.1.1 | 2.4.2-160000.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-30189 is a high vulnerability (CVSS 7.4) in Open-xchange Gmbh Ox Dovecot Pro, published October 5, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in dovecot 2.4.2-r0.
References
documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json
seclists.org/fulldisclosure/2025/Oct/29
openwall.com/lists/oss-security/2025/10/29/4
nvd.nist.gov/vuln/detail/CVE-2025-30189
documentation.open-xchange.com/dovecot/security/advisories/csaf/2025/oxdc-adv-2025-0001.json
github.com/advisories/GHSA-396v-898v-98hg
Show 7 moreShow less
Left out here: the rest of 3 source descriptions. The JSON record has them.