CVE-2004-0399: Stack Buffer Overflow in Exim sender_verify
- Vendor
- University Of Cambridge
A stack-based buffer overflow exists in Exim versions 3.35 and earlier (prior to version 4) when the sender_verify option is enabled. The vulnerability occurs during sender verification, where insufficient bounds checking allows remote attackers to overflow a stack buffer, potentially leading to denial of service or arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Remote attackers can exploit this vulnerability to crash the Exim process (denial of service) or potentially execute arbitrary code with the privileges of the Exim process, which is often root or mail user, depending on configuration.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, disable the sender_verify option if it is not strictly required. Restrict access to the Exim service to trusted networks until the software can be upgraded or patched.
Remediation
Patch, then assume compromise.
Upgrade Exim to version 4 or later, where the vulnerability is fixed. Alternatively, apply any vendor-supplied patches addressing this issue.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2004-0399 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-0399 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-0399?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-0399.
- Is there a patch for CVE-2004-0399?
- Upgrade Exim to version 4 or later, where the vulnerability is fixed. Alternatively, apply any vendor-supplied patches addressing this issue.
- What products are affected by CVE-2004-0399?
- University Of Cambridge Exim.
- How severe is CVE-2004-0399?
- CVE-2004-0399 has a CVSS v2 score of 7.5 (High) and an EPSS score of 20.5% (98th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.