Every CVE Search/ Get API key

CVE-2019-13917

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual...

9.8 CriticalFix available

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

8.62%Up 5.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
CVE-2019-13917
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
10.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-19
Updated
2026-11-02
CVE List No score

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
CVE-2019-13917
Updated
2026-11-02
EUVDEUVD-2019-5187 No score

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
EUVD-2019-5187
Updated
2026-11-03
GitHub AdvisoriesGHSA-w2fj-xv79-84gh 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual...

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
GHSA-w2fj-xv79-84gh
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALPINE-CVE-2019-13917 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
ALPINE-CVE-2019-13917
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
CVE-2019-13917
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2019-13917 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
DEBIAN-CVE-2019-13917
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2019-13917 9.8

Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).

Record
UBUNTU-CVE-2019-13917
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2021:0753-1 No score

Security update for exim

This update for exim fixes the following issues:

exim was updated to 4.94.2:

security update (boo#1185631)

  • CVE-2020-28007: Link attack in Exim's log directory
  • CVE-2020-28008: Assorted attacks in Exim's spool directory
  • CVE-2020-28014: Arbitrary PID file creation
  • CVE-2020-28011: Heap buffer overflow in queue_run()
  • CVE-2020-28010: Heap out-of-bounds write in main()
  • CVE-2020-28013: Heap buffer overflow in parse_fix_phrase()
  • CVE-2020-28016: Heap out-of-bounds write in parse_fix_phrase()
  • CVE-2020-28015: New-line injection into spool header file (local)
  • CVE-2020-28012: Missing close-on-exec flag for privileged pipe
  • CVE-2020-28009: Integer overflow in get_stdinput()
  • CVE-2020-28017: Integer overflow in receive_add_recipient()
  • CVE-2020-28020: Integer overflow in receive_msg()
  • CVE-2020-28023: Out-of-bounds read in smtp_setup_msg()
  • CVE-2020-28021: New-line injection into spool header file (remote)
  • CVE-2020-28022: Heap out-of-bounds read and write in extract_option()
  • CVE-2020-28026: Line truncation and injection in spool_read_header()
  • CVE-2020-28019: Failure to reset function pointer after BDAT error
  • CVE-2020-28024: Heap buffer underflow in smtp_ungetc()
  • CVE-2020-28018: Use-after-free in tls-openssl.c
  • CVE-2020-28025: Heap out-of-bounds read in pdkim_finish_bodyhash()

update to exim-4.94.1

  • Fix security issue in BDAT state confusion. Ensure we reset known-good where we know we need to not be reading BDAT data, as a general case fix, and move the places where we switch to BDAT mode until after various protocol state checks. Fixes CVE-2020-BDATA reported by Qualys.
  • Fix security issue in SMTP verb option parsing (CVE-2020-EXOPT)
  • Fix security issue with too many recipients on a message (to remove a known security problem if someone does set recipients_max to unlimited, or if local additions add to the recipient list). Fixes CVE-2020-RCPTL reported by Qualys.
  • Fix CVE-2020-28016 (PFPZA): Heap out-of-bounds write in parse_fix_phrase()
  • Fix security issue CVE-2020-PFPSN and guard against cmdline invoker providing a particularly obnoxious sender full name.
  • Fix Linux security issue CVE-2020-SLCWD and guard against PATH_MAX better.
  • bring back missing exim_db.8 manual page (fixes boo#1173693)

  • bring in changes from current +fixes (lots of taint check fixes)

    • Bug 1329: Fix format of Maildir-format filenames to match other mail- related applications. Previously an 'H' was used where available info says that 'M' should be, so change to match.
    • Bug 2587: Fix pam expansion condition. Tainted values are commonly used as arguments, so an implementation trying to copy these into a local buffer was taking a taint-enforcement trap. Fix by using dynamically created buffers.
    • Bug 2586: Fix listcount expansion operator. Using tainted arguments is reasonable, eg. to count headers. Fix by using dynamically created buffers rather than a local. Do similar fixes for ACL actions 'dcc', 'log_reject_target', 'malware' and 'spam'; the arguments are expanded so could be handling tainted values.
    • Bug 2590: Fix -bi (newaliases). A previous code rearrangement had broken the (no-op) support for this sendmail command. Restore it to doing nothing, silently, and returning good status.

update to exim 4.94

  • some transports now refuse to use tainted data in constructing their delivery location this WILL BREAK configurations which are not updated accordingly. In particular: any Transport use of $local_user which has been relying upon check_local_user far away in the Router to make it safe, should be updated to replace $local_user with $local_part_data.
  • Attempting to remove, in router or transport, a header name that ends with an asterisk (which is a standards-legal name) will now result in all headers named starting with the string before…
Record
openSUSE-SU-2021:0753-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10746-1 No score

exim-4.94.2-4.2 on GA media

These are all security issues fixed in the exim-4.94.2-4.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10746-1
Updated
2026-11-02
OSVUSN-4075-1 No score

exim4 vulnerability

Jeremy Harris discovered that Exim incorrectly handled sort expansions. In environments where sort expansions are used, a remote attacker could possibly use this issue to execute arbitrary code as root.

Record
USN-4075-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
exim
Alpine:v3.10
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.11
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.12
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.13
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.14
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.15
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.16
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.17
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.18
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.19
4.85 up to 4.92.1-r0
4.92.1-r0
Show 16 moreShow less
Affected packages
PackageAffectedFixed
exim
Alpine:v3.20
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.21
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.22
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.23
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.24
4.85 up to 4.92.1-r0
4.92.1-r0
exim
Alpine:v3.9
4.85 up to 4.92.1-r0
4.92.1-r0
exim4
Debian:12
before 4.92-10
4.92-10
exim4
Debian:13
before 4.92-10
4.92-10
exim4
Debian:14
before 4.92-10
4.92-10
exim4
Debian:9
before 4.89-2+deb9u5, plus listed versions
4.89-24.89-2+deb9u14.89-2+deb9u1~bpo8+14.89-2+deb9u24.89-2+deb9u34.89-2+deb9u3~bpo8+14.89-2+deb9u4
4.89-2+deb9u5
exim4
Debian:10
before 4.92-8+deb10u1, plus listed versions
4.92-84.92-8+deb10u1~bpo9+1
4.92-8+deb10u1
exim4
Ubuntu:16.04:LTS
before 4.86.2-2ubuntu2.4, plus listed versions
4.86-3ubuntu14.86-7ubuntu14.86-7ubuntu24.86-7ubuntu34.86.2-2ubuntu1
Show 4 moreShow less
4.86.2-2ubuntu24.86.2-2ubuntu2.14.86.2-2ubuntu2.24.86.2-2ubuntu2.3
4.86.2-2ubuntu2.4
exim4
Ubuntu:18.04:LTS
before 4.90.1-1ubuntu1.3, plus listed versions
4.89-5ubuntu14.89-9ubuntu14.89-9ubuntu24.89-9ubuntu34.89-9ubuntu44.90.1-1ubuntu14.90.1-1ubuntu1.14.90.1-1ubuntu1.2
4.90.1-1ubuntu1.3
exim
SUSE:Package Hub 15 SP1
before 4.94.2-bp151.2.4.1
4.94.2-bp151.2.4.1
libspf2
SUSE:Package Hub 15 SP1
before 1.2.10-bp151.4.1
1.2.10-bp151.4.1
exim
openSUSE:Tumbleweed
before 4.94.2-4.2
4.94.2-4.2

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-13917 is a critical vulnerability (CVSS 9.8) in Exim, published July 25, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.62%, the 95th percentile. Fixed in exim 4.92.1-r0.

References

Show 47 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open