Improper Null Termination Affecting dovecot package, versions [2.3.0,2.4.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-DOVECOT-20078968
  • published24 Sept 2026
  • disclosed28 Aug 2026
  • creditUnknown

Introduced: 28 Aug 2026

CVE-2026-42395  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade dovecot to version 2.4.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Null Termination via the login process. An attacker can cause the termination of the process and disrupt user authentication by sending forwarding information containing a NUL byte from a host configured as a trusted proxy. This is only exploitable if the deployment is configured with trusted proxies.

Workaround

This vulnerability can be mitigated by restricting the login_trusted_networks configuration to only include hosts that are fully under administrative control and reloading or restarting the service after making changes.

CVSS Base Scores

version 4.0
version 3.1