Memory Leak Vulnerability in Dovecot

dovecot Updated 02 Oct 2025

Summary

25/01/2018
N/A
Yes i
High
7.5

CVE-2017-15132: A flaw was found in dovecot 2.0 up to 2.2.33 and 2.3.0. Affects dovecot across 2 version ranges.

< 1a29ed2f96da1be22fa5a4d96c7583aa81b8b060 < 2.3.1-r0

Fixed in 2.3.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Dovecot is an open-source email server software that provides secure and efficient access to mailboxes. It is widely used in various Linux distributions, including Alpine Linux. The software is responsible for handling authentication processes for login sessions. However, a vulnerability has been discovered in versions 2.0 up to 2.2.33 and 2.3.0 of Dovecot, which can lead to a memory leak in the authentication client used by login processes. This vulnerability can have a significant impact on high-performance configurations where login processes are reused, potentially causing the process to crash due to memory exhaustion.

Vulnerability Detail

The vulnerability, identified as CVE-2017-15132, occurs when an abort of SASL authentication takes place. This results in a memory leak within the auth client of Dovecot, which is utilized by login processes. The memory leak becomes problematic in scenarios where the same login processes are reused, as it can eventually lead to memory exhaustion and subsequent process crashes. The severity of this vulnerability is rated as 7.5 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

How To Fix

Minimum fixed version

2.3.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

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the fixed version of Dovecot.

Conclusion

In conclusion, the memory leak vulnerability in Dovecot can result in process crashes due to memory exhaustion. It is crucial to upgrade to the fixed version of Dovecot (2.3.1-r0 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dovecot →

Share this vulnerability

FAQ

Dovecot is an open-source email server software that provides secure and efficient access to mailboxes.

Versions 2.0 up to 2.2.33 and 2.3.0 of Dovecot are affected by this vulnerability.

The vulnerability can lead to a memory leak in the authentication client of Dovecot, potentially causing process crashes due to memory exhaustion.

To fix this vulnerability, it is recommended to upgrade to version 2.3.1-r0 or any subsequent release of Dovecot.

No specific workaround is mentioned for this vulnerability. Upgrading to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for dovecot.

How To Fix

Minimum fixed version

2.3.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