Description
Exim 4 before 4.94.2 has Execution with Unnecessary Privileges. By leveraging a delete_pid_file race condition, a local user can delete arbitrary files as root. This involves the -oP and -oPX options.
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.94.2-1 | — |
| Debian 13 | exim4 | 4.94.2-1 | — |
| Debian 12 | exim4 | 4.94.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | exim4 | 4.93-13ubuntu1.5 | USN-4934-1 |
| Ubuntu 18.04 LTS | exim4 | 4.90.1-1ubuntu1.8 | USN-4934-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | exim4 | 4.86.2-2ubuntu2.6+esm1 | USN-4934-2 |
| Ubuntu Pro 14.04 LTS | exim4 | 4.82-3ubuntu2.4+esm3 | USN-4934-2 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | exim | 4.94.2-r0 | — |
| Alpine v3.23 | exim | 4.94.2-r0 | — |
| Alpine v3.22 | exim | 4.94.2-r0 | — |
| Alpine v3.21 | exim | 4.94.2-r0 | — |
| Alpine v3.20 | exim | 4.94.2-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | exim | 4.94.2-r0 | — |
| Alpine v3.18 | exim | 4.94.2-r0 | — |
| Alpine v3.17 | exim | 4.94.2-r0 | — |
| Alpine v3.16 | exim | 4.94.2-r0 | — |
| Alpine v3.15 | exim | 4.94.2-r0 | — |
| Alpine v3.14 | exim | 4.94.2-r0 | — |
| Alpine v3.13 | exim | 4.94.2-r0 | — |
Advisories 2
- USN-4934-2 exim4 vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-4934-1 exim4 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026