CVE-2010-4344 in Canonical Ubuntu Linux and 3 more products
Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code via an SMTP session that includes two MAIL commands in conjunction with a large message containing crafted headers, leading to improper rejection logging.
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 6.06 8.04 9.10 |
| Debian | Debian Linux | 5.0 |
| Exim | Exim | < 4.70 |
| Opensuse | Opensuse | 11.1 11.2 11.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official description
Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code via an SMTP session that includes two MAIL commands in conjunction with a large message containing crafted headers, leading to improper rejection logging.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2010-4344 |
|---|---|
| BreachSpider ID | BS-2010-GLOBAL-158947-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2010-12-14 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
CVE-2010-4344 is a heap-based buffer overflow vulnerability in the string_vformat function of Exim, affecting versions prior to 4.70. This vulnerability can be exploited by remote attackers to execute arbitrary code, potentially leading to system compromise. The CVSS score of 9.8 indicates a critical severity level, and the presence of known exploits increases the risk. Immediate attention is required to mitigate this vulnerability, especially in environments where Exim is used for mail handling in ICS/OT systems.
The vulnerability can be triggered by a remote attacker sending an SMTP session that includes two MAIL commands followed by a large message with crafted headers. This sequence of actions causes a heap-based buffer overflow in the string_vformat function, which can lead to arbitrary code execution. The lack of proper input validation and bounds checking in the affected function makes it possible for an attacker to manipulate memory and gain control over the system.
Compensating controls AI-drafted, review before use
Implement strict input validation and length checks on incoming SMTP commands, particularly for the MAIL FROM command. Consider rate-limiting connections from suspicious IP addresses and enabling logging for all SMTP transactions to detect and respond to potential exploitation attempts.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2010-4344?
CVE-2010-4344 is a heap-based buffer overflow vulnerability in the string_vformat function of Exim, affecting versions prior to 4.70. This vulnerability can be exploited by remote attackers to execute arbitrary code, potentially leading to system compromise. The CVSS score of 9.8 indicates a critical severity level, and the presence of known exploits increases the risk. Immediate attention is required to mitigate this vulnerability, especially in environments where Exim is used for mail handling
What is the CVSS score for CVE-2010-4344?
CVE-2010-4344 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 71.7%.
Is CVE-2010-4344 actively exploited?
Yes. CVE-2010-4344 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2010-4344?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2010-4344?
CVE-2010-4344 affects Canonical Ubuntu Linux; Debian Debian Linux; Exim Exim; Opensuse Opensuse.
What NERC-CIP standard applies to CVE-2010-4344?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it involves a known vulnerability in a critical asset that could allow unauthorized access and control, which is not adequately protected by existing security measures.
What IEC 62443 requirement maps to CVE-2010-4344?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely to execute arbitrary code, which could compromise the integrity and availability of the system. Proper input validation and secure coding practices are essential to prevent such attacks.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.