CVE-2020-10958 in Dovecot
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Dovecot | Dovecot | < 2.3.10.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-10958 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-143851-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Published | 2020-05-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability in Dovecot versions before 2.3.10.1 can be exploited by sending a crafted SMTP/LMTP message, potentially leading to a crash.
The vulnerability is triggered by a crafted SMTP/LMTP message that includes many newlines after a command, leading to an unauthenticated use-after-free condition in the submission-log, submission-login, submission, or lmtp components.
Questions
What is CVE-2020-10958?
A use-after-free vulnerability in Dovecot versions before 2.3.10.1 can be exploited by sending a crafted SMTP/LMTP message, potentially leading to a crash.
What is the CVSS score for CVE-2020-10958?
CVE-2020-10958 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 6.1%.
Is CVE-2020-10958 actively exploited?
No confirmed active exploitation of CVE-2020-10958 as of 2026-09-25.
How do I remediate CVE-2020-10958?
Priority: MEDIUM. Advisory: https://dovecot.org/security PSIRT: [email protected]
What systems are affected by CVE-2020-10958?
CVE-2020-10958 affects Dovecot Dovecot.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dovecot","product":"Dovecot","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.