← Vulnerability feed

Vulnerability record · CVE-2012-5671 · published 31 October 2012

CVE-2012-5671: Exim memory buffer overflow vulnerability

Exim · Exim

Heap-based buffer overflow in the dkim_exim_query_dns_txt function in dkim.c in Exim 4.70 through 4.80, when DKIM support is enabled and acl_smtp_connect and acl_smtp_rcpt are not set to "warn control = dkim_disable_verify," allows remote attackers to execute arbitrary code via an email from a malicious DNS server.

6.8 CVSS 2.0 Medium EPSS 8.4% · top 5.2% CWE-119 · Memory buffer overflow
6.8CVSS 2.0 base score
8.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
30References
16 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in the dkim_exim_query_dns_txt function in dkim.c in Exim 4.70 through 4.80, when DKIM support is enabled and acl_smtp_connect and acl_smtp_rcpt are not set to "warn control = dkim_disable_verify," allows remote attackers to execute arbitrary code via an email from a malicious DNS server.

AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/091664.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090900.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090963.html
http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00018.html
http://osvdb.org/86616
http://secunia.com/advisories/51098 Vendor Advisory
http://secunia.com/advisories/51115
http://secunia.com/advisories/51153
http://secunia.com/advisories/51155
http://www.debian.org/security/2012/dsa-2566
http://www.openwall.com/lists/oss-security/2012/10/26/5
http://www.securityfocus.com/bid/56285
http://www.ubuntu.com/usn/USN-1618-1
https://exchange.xforce.ibmcloud.com/vulnerabilities/79615
https://lists.exim.org/lurker/message/20121026.080330.74b9147b.en.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/091664.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090900.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090963.html
http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00018.html
http://osvdb.org/86616
http://secunia.com/advisories/51098 Vendor Advisory
http://secunia.com/advisories/51115
http://secunia.com/advisories/51153
http://secunia.com/advisories/51155
http://www.debian.org/security/2012/dsa-2566
http://www.openwall.com/lists/oss-security/2012/10/26/5
http://www.securityfocus.com/bid/56285
http://www.ubuntu.com/usn/USN-1618-1
https://exchange.xforce.ibmcloud.com/vulnerabilities/79615
https://lists.exim.org/lurker/message/20121026.080330.74b9147b.en.html

Track CVE-2012-5671 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2010-4344Exim SMTP heap buffer overflow enables remote code executionExim before 4.70 has a heap-based buffer overflow in string_vformat in string.c. A remote SMTP session that sends two MAIL commands plus a large mess…KEVEPSS 72%analysed7.8CVE-2010-4345Exim local privilege escalation via alternate config file command injectionExim 4.72 and earlier lets the exim user account specify an alternate configuration file whose directives can contain arbitrary commands, as shown wi…KEVEPSS 18%analysed9.8CVE-2026-45185Exim use after free vulnerabilityExim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path. It is triggered when a c…EPSS 0.94%9.8CVE-2026-40685Exim out-of-bounds write vulnerabilityIn Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrus…EPSS 0.58%9.8CVE-2025-67896Exim heap-based buffer overflow vulnerabilityExim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer overflow because database records are cast …EPSS 0.47%

Source: NIST National Vulnerability Database (record CVE-2012-5671), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.