Dovecot Vulnerability: Truncated UTF-8 Data Handling Issue

dovecot Updated 02 Oct 2025

Summary

12/02/2020
N/A
Yes i
High
7.5

ALPINE-CVE-2020-7046: lib-smtp in submission-login and lmtp in Dovecot 2.3.9 before 2.3.9.3 mishandles truncated UTF-8 data in command parameters, as demonstrated by the unauthenticated triggering of a submission-login infinite loop. Affects dovecot versions < 2.3.10.1-r0. Fixed in 2.3.10.1-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Dovecot is an open-source IMAP and POP3 email server for Unix-like operating systems. It is designed to provide secure and efficient email services, supporting various authentication mechanisms and protocols. The vulnerability in question affects Dovecot versions prior to 2.3.9.3, where improper handling of truncated UTF-8 data in command parameters can lead to an infinite loop in the submission-login process, potentially causing service disruptions.

Vulnerability Detail

The vulnerability, identified as CVE-2020-7046, arises from the lib-smtp component in Dovecot's submission-login and lmtp functionalities. It mishandles truncated UTF-8 data, allowing unauthenticated users to trigger an infinite loop. This can lead to denial of service, as the server may become unresponsive due to the continuous loop. The issue is particularly concerning as it can be exploited without authentication, making it a significant risk for exposed email servers.

How To Fix

Minimum fixed version

2.3.10.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade dovecot

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, administrators can restrict access to the Dovecot submission-login service to trusted IP addresses, thereby minimizing the risk of exploitation until the patch is applied.

Conclusion

In summary, CVE-2020-7046 is a critical vulnerability in Dovecot that affects its handling of truncated UTF-8 data, leading to potential denial of service. It is crucial for users to update to the patched version to mitigate risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for dovecot →

Share this vulnerability

FAQ

CVE-2020-7046 is a vulnerability in Dovecot that allows unauthenticated users to trigger an infinite loop due to improper handling of truncated UTF-8 data in command parameters.

If you are running Dovecot versions prior to 2.3.9.3, your installation is vulnerable. You can check your version using the command dovecot --version.

The vulnerability can lead to denial of service, causing the Dovecot server to become unresponsive and disrupt email services.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file. You can check your application against this vulnerability using the Vulert playground.

The CVSS score for CVE-2020-7046 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for dovecot.

How To Fix

Minimum fixed version

2.3.10.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade dovecot

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback