Exim4 - Arbitrary Code Execution

exim4 Updated 02 Oct 2025

Summary

24/06/2017
N/A
Yes i
Unrated
Not published

DLA-1001-1: exim4 - security update. Affects exim4 versions < 4.80-7+deb7u5. Fixed in 4.80-7+deb7u5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Exim4 is a mail transfer agent (MTA) used on Unix-like operating systems. It is responsible for receiving, routing, and delivering email messages. Exim4 is widely used due to its flexibility and extensive configuration options. However, a vulnerability has been discovered in Exim4 that allows attackers to execute arbitrary code on the affected system.

Vulnerability Detail

The vulnerability in Exim4 arises from the use of multiple "-p" command line arguments that are allocated memory but never freed. This, in combination with other issues, enables attackers to exploit the system and execute arbitrary code. By crafting malicious input, an attacker can trigger a buffer overflow or other memory corruption vulnerabilities, leading to remote code execution. This can have severe consequences, including unauthorized access, data theft, or complete compromise of the affected system.

How To Fix

Minimum fixed version

4.80-7+deb7u5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade exim4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the security update as soon as possible to mitigate the risk of exploitation.

Conclusion

The vulnerability in Exim4 can allow attackers to execute arbitrary code on the affected system, potentially leading to unauthorized access or complete compromise. It is crucial to upgrade the Exim4 package to version 4.80-7+deb7u5 or later to mitigate this risk. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for exim4 →

Share this vulnerability

FAQ

Exim4 is a mail transfer agent used for routing and delivering email messages on Unix-like systems.

The vulnerability allows attackers to execute arbitrary code on the affected system, potentially leading to unauthorized access, data theft, or complete compromise.

To fix this vulnerability, upgrade the Exim4 package to version 4.80-7+deb7u5 or later.

No, there is no known workaround for this vulnerability. Applying the security update is the recommended solution.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS

Related vulnerabilities

Recent vulnerabilities recorded for exim4.

How To Fix

Minimum fixed version

4.80-7+deb7u5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade exim4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback