cve.bz

CVE-2020-12674 Out-of-bounds Read

7.5 highExploit referenceEPSS 6.2%

High (7.5). EPSS 6.2% estimated probability of exploitation activity in the next 30 days.

On this page
In Dovecot before 2.3.11.3, sending a specially formatted RPA request will crash the auth service because a length of zero is mishandled.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
6.2% (unchanged from 6.2% a week ago; 6.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12674 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12674?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12674?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12674 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dovecot:dovecotbefore 2.3.11.3
debian:debian_linux9.0
debian:debian_linux10.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9dovecot1:2.2.27-3+deb9u6DLA-2328-1
Debian10dovecot1:2.3.4.1-5+deb10u3DSA-4745-1
Debian12, 13, 14dovecot1:2.3.11.3+dfsg1-1DEBIAN-CVE-2020-12674
Ubuntu16.04:LTSdovecot1:2.2.22-1ubuntu2.13UBUNTU-CVE-2020-12674 USN-4456-1
Ubuntu18.04:LTSdovecot1:2.2.33.2-1ubuntu4.6UBUNTU-CVE-2020-12674 USN-4456-1
Ubuntu20.04:LTSdovecot1:2.3.7.2-1ubuntu3.2UBUNTU-CVE-2020-12674 USN-4456-1
UbuntuPro:14.04:LTSdovecot1:2.2.9-1ubuntu2.6+esm3UBUNTU-CVE-2020-12674 USN-4456-2
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationdovecot, dovecot-devel, dovecot-mysql and 3 more1:2.2.36-6.el7_8.1RHSA-2020:3617
Red Hatenterprise_linux:8::appstreamdovecot, dovecot-mysql, dovecot-pgsql and 6 more1:2.3.8-2.el8_2.2RHSA-2020:3713
Red Hatenterprise_linux:8::crbdovecot, dovecot-devel, dovecot-debuginfo and 4 more1:2.3.8-2.el8_2.2RHSA-2020:3713
Red Hatrhel_e4s:8.0::appstreamdovecot, dovecot-mysql, dovecot-pgsql and 5 more1:2.2.36-5.el8_0.3RHSA-2020:3735
Red Hatrhel_eus:8.1::appstreamdovecot, dovecot-mysql, dovecot-pgsql and 6 more1:2.2.36-10.el8_1.2RHSA-2020:3736
Red Hatrhel_eus:8.1::crbdovecot, dovecot-devel, dovecot-debuginfo and 4 more1:2.2.36-10.el8_1.2RHSA-2020:3736
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 moredovecot222.2.31-19.22.1SUSE-SU-2020:2274-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moredovecot232.3.10-4.27.1SUSE-SU-2020:2266-1
SUSELinux Enterprise Module for Server Applications 15 SP1dovecot232.3.10-16.1SUSE-SU-2020:2267-1
SUSELinux Enterprise Module for Server Applications 15 SP2dovecot232.3.11.3-17.5.1SUSE-SU-2021:0028-1
openSUSELeap 15.1dovecot232.3.10-lp151.2.12.1openSUSE-SU-2020:1241-1
openSUSELeap 15.2dovecot232.3.10-lp152.2.3.1openSUSE-SU-2020:1262-1
openSUSETumbleweeddovecot232.3.16-1.6openSUSE-SU-2024:10726-1
openSUSETumbleweeddovecot242.4.0-1.1openSUSE-SU-2025:14715-1
Alpinev3.9, v3.10, v3.11dovecot2.3.10.1-r1ALPINE-CVE-2020-12674
Alpinev3.12, v3.13, v3.14 and 10 moredovecot2.3.11.3-r0ALPINE-CVE-2020-12674

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Upstream suggests that this flaw can be mitigated by disabling RPA (Remote Passphrase Authentication). RPA can be disabled by using the configuration parameter "auth_mechanisms". More details available at: https://doc.dovecot.org/configuration_manual/authentication/authentication_mechanisms/

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7dovecot-1:2.2.36-6.el7_8.1Fixed 2020-09-03RHSA-2020:3617
Red Hat Enterprise Linux 8dovecot-1:2.3.8-2.el8_2.2Fixed 2020-09-10RHSA-2020:3713
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsdovecot-1:2.2.36-5.el8_0.3Fixed 2020-09-14RHSA-2020:3735
Red Hat Enterprise Linux 8.1 Extended Update Supportdovecot-1:2.2.36-10.el8_1.2Fixed 2020-09-14RHSA-2020:3736
Red Hat Enterprise Linux 5dovecotNot affected
Red Hat Enterprise Linux 6dovecotNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12674.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON