Description
Exim supports the use of multiple "-p" command line arguments which are malloc()'ed and never free()'ed, used in conjunction with other issues allows attackers to cause arbitrary code execution. This affects exim version 4.89 and earlier. Please note that at this time upstream has released a patch (commit 65e061b76867a9ea7aeeb535341b790b90ae6c21), but it is not known if a new point release is available that addresses this issue at this time.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | exim4 | 4.89-3 | — |
| Debian 13 | exim4 | 4.89-3 | — |
| Debian 12 | exim4 | 4.89-3 | — |
| Debian 9 | exim4 | 4.89-2+deb9u1 | DSA-3888-1 |
| Debian 8 | exim4 | 4.84.2-2+deb8u4 | DSA-3888-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | exim4 | 4.80-7+deb7u5 | DLA-1001-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | exim4 | 4.86.2-2ubuntu2.2 | USN-3322-1 |
| Ubuntu 14.04 LTS | exim4 | 4.82-3ubuntu2.3 | USN-3322-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP2 | exim | 4.94.2-bp152.6.4.1 | openSUSE-SU-2021:0754-1 |
| SUSE Package Hub 15 SP2 | libspf2 | 1.2.10-bp152.5.1 | openSUSE-SU-2021:0754-1 |
| SUSE Package Hub 15 SP1 | exim | 4.94.2-bp151.2.4.1 | openSUSE-SU-2021:0753-1 |
| SUSE Package Hub 15 SP1 | libspf2 | 1.2.10-bp151.4.1 | openSUSE-SU-2021:0753-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | exim | 4.94.2-4.2 | openSUSE-SU-2024:10746-1 |
| openSUSE Leap 15.2 | exim | 4.94.2-lp152.8.3.1 | openSUSE-SU-2021:0677-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | exim | 4.89-r5 | — |
| Alpine v3.23 | exim | 4.89-r5 | — |
| Alpine v3.22 | exim | 4.89-r5 | — |
| Alpine v3.21 | exim | 4.89-r5 | — |
| Alpine v3.20 | exim | 4.89-r5 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | exim | 4.89-r5 | — |
| Alpine v3.18 | exim | 4.89-r5 | — |
| Alpine v3.17 | exim | 4.89-r5 | — |
| Alpine v3.16 | exim | 4.89-r5 | — |
| Alpine v3.15 | exim | 4.89-r5 | — |
| Alpine v3.14 | exim | 4.89-r5 | — |
| Alpine v3.13 | exim | 4.89-r5 | — |
| Alpine v3.12 | exim | 4.89-r5 | — |
| Alpine v3.11 | exim | 4.89-r5 | — |
| Alpine v3.10 | exim | 4.89-r5 | — |
| Alpine v3.9 | exim | 4.89-r5 | — |
| Alpine v3.8 | exim | 4.89-r5 | — |
| Alpine v3.7 | exim | 4.89-r5 | — |
| Alpine v3.6 | exim | 4.89-r5 | — |
Advisories 7
- USN-3322-1 exim4 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3888-1 exim4 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1001-1 exim4 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2021:0754-1 Security update for exim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10746-1 exim-4.94.2-4.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0677-1 Security update for exim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0753-1 Security update for exim SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/Exim/exim/commit/65e061b76867a9ea7aeeb535341b790b90ae6c21
- 1038779 vdb-entry
- 99252 vdb-entry
- https://access.redhat.com/security/cve/CVE-2017-1000369
- GLSA-201709-19 vendor-advisory
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
- DSA-3888 vendor-advisory