CVE-2020-10958
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after...
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
CVE-2020-10958- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AC:L/AV:N/A:L/C:N/I:N/PR:N/S:U/UI:N - Updated
- 2026-11-02
EUVDEUVD-2020-3362
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
EUVD-2020-3362- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AC:L/AV:N/A:L/C:N/I:N/PR:N/S:U/UI:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v4pj-8r82-6phx No score
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after...
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
GHSA-v4pj-8r82-6phx- Updated
- 2026-11-02
NVD
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
CVE-2020-10958- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-10958
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
ALPINE-CVE-2020-10958- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSV
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
CVE-2020-10958- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2020-10958
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
DEBIAN-CVE-2020-10958- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRHSA-2020:4763
5.9
Red Hat Security Advisory: dovecot security update
- Record
RHSA-2020:4763- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-10958
5.3
In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
- Record
UBUNTU-CVE-2020-10958- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVALSA-2020:4763 No score
Moderate: dovecot security update
Dovecot is an IMAP server for Linux and other UNIX-like systems, written primarily with security in mind. It also contains a small POP3 server, and supports e-mail in either the maildir or mbox format. The SQL drivers and authentication plug-ins are provided as subpackages.
Security Fix(es):
-
dovecot: command followed by sufficient number of newlines leads to use-after-free (CVE-2020-10958)
-
dovecot: sending mail with empty quoted localpart leads to DoS (CVE-2020-10967)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2020:4763- Updated
- 2026-11-02
OSVMGASA-2020-0222 No score
Updated dovecot packages fix security vulnerabilities
Dovecot has been updated to fix several security issues.
Sending malformed NOOP command causes crash in submission, submission-login or lmtp service (CVE-2020-10957).
Sending command followed by sufficient number of newlines triggers a use-after-free bug that might crash submission-login, submission or lmtp service (CVE-2020-10958).
Sending mail with empty quoted localpart causes submission or lmtp component to crash (CVE-2020-10967).
- Record
MGASA-2020-0222- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0720-1 No score
Security update for dovecot23
This update for dovecot23 to 2.3.10 fixes the following issues:
Security issues fixed:
- CVE-2020-10957: Fixed a crash caused by malformed NOOP commands (bsc#1171457).
- CVE-2020-10958: Fixed a use-after-free when receiving too many newlines (bsc#1171458).
- CVE-2020-10967: Fixed a crash in the lmtp and submission components caused by mails with empty quoted localparts (bsc#1171456).
Non-security issues fixed:
- The update to 2.3.10 fixes several bugs. Please refer to https://dovecot.org/doc/NEWS for a complete list of changes.
This update was imported from the SUSE:SLE-15-SP1:Update update project.
- Record
openSUSE-SU-2020:0720-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10726-1 No score
dovecot23-2.3.16-1.6 on GA media
These are all security issues fixed in the dovecot23-2.3.16-1.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10726-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14715-1 No score
dovecot24-2.4.0-1.1 on GA media
These are all security issues fixed in the dovecot24-2.4.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14715-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1379-1 No score
Security update for dovecot23
This update for dovecot23 fixes the following issues:
Security issues fixed:
- CVE-2020-10957: Fixed a crash caused by malformed NOOP commands (bsc#1171457).
- CVE-2020-10958: Fixed a use-after-free when receiving too many newlines (bsc#1171458).
- CVE-2020-10967: Fixed a crash in the lmtp and submission components caused by mails with empty quoted localparts (bsc#1171456).
Non-security issues fixed:
- The update to 2.3.10 fixes several bugs. Please refer to https://dovecot.org/doc/NEWS for a complete list of changes.
- Record
SUSE-SU-2020:1379-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1380-1 No score
Security update for dovecot23
This update for dovecot23 to 2.3.10 fixes the following issues:
Security issues fixed:
- CVE-2020-10957: Fixed a crash caused by malformed NOOP commands (bsc#1171457).
- CVE-2020-10958: Fixed a use-after-free when receiving too many newlines (bsc#1171458).
- CVE-2020-10967: Fixed a crash in the lmtp and submission components caused by mails with empty quoted localparts (bsc#1171456).
Non-security issues fixed:
- The update to 2.3.10 fixes several bugs. Please refer to https://dovecot.org/doc/NEWS for a complete list of changes.
- Record
SUSE-SU-2020:1380-1- Updated
- 2026-11-02
OSVUSN-4361-1 No score
dovecot vulnerabilities
Philippe Antoine discovered that Dovecot incorrectly handled certain data. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-10957, CVE-2020-10967)
Philippe Antoine discovered that Dovecot incorrectly handled certain data. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2020-10958)
- Record
USN-4361-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dovecotAlpine:v3.10 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.11 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.12 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.13 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.14 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.15 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.16 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.17 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.18 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.19 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
Show 40 moreShow less
| Package | Affected | Fixed |
|---|---|---|
dovecotAlpine:v3.20 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.21 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.22 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.23 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.24 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.8 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlpine:v3.9 |
before 2.3.10.1-r0 | 2.3.10.1-r0 |
dovecotAlmaLinux:8 From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecotDebian:12 |
before 1:2.3.10.1+dfsg1-1 | 1:2.3.10.1+dfsg1-1 |
dovecotDebian:13 |
before 1:2.3.10.1+dfsg1-1 | 1:2.3.10.1+dfsg1-1 |
dovecotDebian:14 |
before 1:2.3.10.1+dfsg1-1 | 1:2.3.10.1+dfsg1-1 |
dovecotDebian:10 From an advisory covering 3 CVEs |
before 1:2.3.4.1-5+deb10u2, plus listed versions 1:2.3.4.1-51:2.3.4.1-5+deb10u11:2.3.4.1-5+deb10u1~bpo9+1 |
1:2.3.4.1-5+deb10u2 |
dovecotMageia:7 From an advisory covering 3 CVEs |
before 2.3.10.1-1.mga7 | 2.3.10.1-1.mga7 |
dovecotRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-mysqlRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-mysql-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pgsqlRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pgsql-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pigeonholeRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pigeonhole-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecotRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-debuginfoRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-debugsourceRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-develRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-mysql-debuginfoRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pgsql-debuginfoRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot-pigeonhole-debuginfoRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 1:2.3.8-4.el8 | 1:2.3.8-4.el8 |
dovecot23SUSE:Linux Enterprise High Performance Computing 15-ESPOS From an advisory covering 3 CVEs |
before 2.3.10-4.22.1 | 2.3.10-4.22.1 |
dovecot23SUSE:Linux Enterprise High Performance Computing 15-LTSS From an advisory covering 3 CVEs |
before 2.3.10-4.22.1 | 2.3.10-4.22.1 |
dovecot23SUSE:Linux Enterprise Server 15-LTSS From an advisory covering 3 CVEs |
before 2.3.10-4.22.1 | 2.3.10-4.22.1 |
dovecot23SUSE:Linux Enterprise Server for SAP Applications 15 From an advisory covering 3 CVEs |
before 2.3.10-4.22.1 | 2.3.10-4.22.1 |
dovecot23SUSE:Linux Enterprise Module for Server Applications 15 SP1 From an advisory covering 3 CVEs |
before 2.3.10-11.1 | 2.3.10-11.1 |
dovecotUbuntu:20.04:LTS |
before 1:2.3.7.2-1ubuntu3.1, plus listed versions 1:2.3.4.1-5ubuntu31:2.3.7.2-1ubuntu11:2.3.7.2-1ubuntu21:2.3.7.2-1ubuntu3 |
1:2.3.7.2-1ubuntu3.1 |
dovecotUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 1:2.3.7.2-1ubuntu3.1, plus listed versions 1:2.3.4.1-5ubuntu31:2.3.7.2-1ubuntu11:2.3.7.2-1ubuntu21:2.3.7.2-1ubuntu3 |
1:2.3.7.2-1ubuntu3.1 |
dovecot23openSUSE:Leap 15.1 From an advisory covering 3 CVEs |
before 2.3.10-lp151.2.9.1 | 2.3.10-lp151.2.9.1 |
dovecot23openSUSE:Tumbleweed From an advisory covering 22 CVEs |
before 2.3.16-1.6 | 2.3.16-1.6 |
dovecot24openSUSE:Tumbleweed From an advisory covering 24 CVEs |
before 2.4.0-1.1 | 2.4.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-10958 is a medium vulnerability (CVSS 5.3) in Dovecot, published May 18, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.12%, the 93rd percentile. Fixed in dovecot 2.3.10.1-r0.
References
dovecot.org/security
openwall.com/lists/oss-security/2020/05/18/1
usn.ubuntu.com/4361-1
seclists.org/fulldisclosure/2020/May/37
packetstormsecurity.com/files/157771/Open-Xchange-Dovecot-2.3.10-Null-Pointer-Dereference-Denial-Of-Service.html
debian.org/security/2020/dsa-4690
Show 60 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VVUWHUUAFPC6XGIXYFIPTNBXLHPNM4W6
lists.opensuse.org/opensuse-security-announce/2020-05/msg00059.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTZN2VW55ZC2AQBGBJMLRJSZIKSB2NS6
nvd.nist.gov/vuln/detail/CVE-2020-10958
lists.fedoraproject.org/archives/list/[email protected]/message/TTZN2VW55ZC2AQBGBJMLRJSZIKSB2NS6
lists.fedoraproject.org/archives/list/[email protected]/message/VVUWHUUAFPC6XGIXYFIPTNBXLHPNM4W6
github.com/advisories/GHSA-v4pj-8r82-6phx
security.alpinelinux.org/vuln/CVE-2020-10958
vulners.com/cve/CVE-2020-10958
vulners.com/cve/CVE-2020-10967
security-tracker.debian.org/tracker/CVE-2020-10958
advisories.mageia.org/MGASA-2020-0222.html
bugs.mageia.org/show_bug.cgi?id=26644
access.redhat.com/errata/RHSA-2020:4763
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1834323
bugzilla.redhat.com/show_bug.cgi?id=1834326
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4763.json
access.redhat.com/security/cve/CVE-2020-10958
cve.org/CVERecord?id=CVE-2020-10958
dovecot.org/pipermail/dovecot-news/2020-May/000438.html
access.redhat.com/security/cve/CVE-2020-10967
cve.org/CVERecord?id=CVE-2020-10967
nvd.nist.gov/vuln/detail/CVE-2020-10967
suse.com/support/update/announcement/2020/suse-su-20201379-1
bugzilla.suse.com/1171456
bugzilla.suse.com/1171457
bugzilla.suse.com/1171458
suse.com/security/cve/CVE-2020-10957
suse.com/security/cve/CVE-2020-10958
suse.com/security/cve/CVE-2020-10967
suse.com/support/update/announcement/2020/suse-su-20201380-1
ubuntu.com/security/CVE-2020-10958
ubuntu.com/security/notices/USN-4361-1
ubuntu.com/security/CVE-2020-10957
ubuntu.com/security/CVE-2020-10967
lists.opensuse.org/archives/list/[email protected]/thread/K3LZAKCBF64D2WQJU72IWUN4CX7LW2RI
suse.com/security/cve/CVE-2017-14461
suse.com/security/cve/CVE-2017-15130
suse.com/security/cve/CVE-2017-15132
suse.com/security/cve/CVE-2019-10691
suse.com/security/cve/CVE-2019-11494
suse.com/security/cve/CVE-2019-11499
suse.com/security/cve/CVE-2019-11500
suse.com/security/cve/CVE-2019-19722
suse.com/security/cve/CVE-2019-3814
suse.com/security/cve/CVE-2019-7524
suse.com/security/cve/CVE-2020-12100
suse.com/security/cve/CVE-2020-12673
suse.com/security/cve/CVE-2020-12674
suse.com/security/cve/CVE-2020-24386
suse.com/security/cve/CVE-2020-28200
suse.com/security/cve/CVE-2020-7046
suse.com/security/cve/CVE-2020-7957
suse.com/security/cve/CVE-2021-29157
suse.com/security/cve/CVE-2021-33515
lists.opensuse.org/archives/list/[email protected]/thread/KZSDCZ5LA6IHY7KXVSL6ULAJVP6OFT2M
suse.com/security/cve/CVE-2024-23184
suse.com/security/cve/CVE-2024-23185