CVE-2017-1000369
Exim supports the use of multiple "-p" command line arguments which are malloc()'ed and never...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.0
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.
- Record
CVE-2017-1000369- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-404
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-1000369- Updated
- 2026-11-02
EUVDEUVD-2017-1528 No score
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.
- Record
EUVD-2017-1528- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wrh8-mmqh-q688
4.0
Exim supports the use of multiple "-p" command line arguments which are malloc()'ed and never...
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.
- Record
GHSA-wrh8-mmqh-q688- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-404
- Updated
- 2026-11-02
OSV
4.0
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.
- Record
CVE-2017-1000369- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-1000369
4.0
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.
- Record
DEBIAN-CVE-2017-1000369- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-1000369
4.0
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.
- Record
UBUNTU-CVE-2017-1000369- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0677-1 No score
Security update for exim
This update for exim fixes the following issues:
Exim was updated to exim-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…
- Record
openSUSE-SU-2021:0677-1- 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-2021:0754-1 No score
Security update for exim
This update for exim fixes the following issues:
Exim was updated to exim-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…
- Record
openSUSE-SU-2021:0754-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-3322-1 No score
exim4 vulnerability
It was discovered that Exim did not properly deallocate memory when processing certain command line arguments. A local attacker could use this in conjunction with a vulnerability in the underlying kernel to possibly execute arbitrary code and gain administrative privileges.
- Record
USN-3322-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exim4Debian:12 |
before 4.89-3 | 4.89-3 |
exim4Debian:13 |
before 4.89-3 | 4.89-3 |
exim4Debian:14 |
before 4.89-3 | 4.89-3 |
exim4Debian:7 |
before 4.80-7+deb7u5, plus listed versions 4.80-74.80-7+deb7u14.80-7+deb7u24.80-7+deb7u34.80-7+deb7u4 |
4.80-7+deb7u5 |
exim4Debian:8 |
before 4.84.2-2+deb8u4, plus listed versions 4.84-84.84-8+deb8u14.84-8+deb8u24.84.2-14.84.2-1+deb8u1 Show 4 moreShow less4.84.2-24.84.2-2+deb8u14.84.2-2+deb8u24.84.2-2+deb8u3 |
4.84.2-2+deb8u4 |
exim4Debian:9 |
before 4.89-2+deb9u1, plus listed versions 4.89-24.89-2+deb9u1~bpo8+1 |
4.89-2+deb9u1 |
exim4Ubuntu:14.04:LTS |
before 4.82-3ubuntu2.3, plus listed versions 4.80-7ubuntu34.80-7ubuntu44.80-9ubuntu14.80-9ubuntu24.82-3ubuntu14.82-3ubuntu24.82-3ubuntu2.14.82-3ubuntu2.2 |
4.82-3ubuntu2.3 |
exim4Ubuntu:16.04:LTS |
before 4.86.2-2ubuntu2.2, plus listed versions 4.86-3ubuntu14.86-7ubuntu14.86-7ubuntu24.86-7ubuntu34.86.2-2ubuntu14.86.2-2ubuntu24.86.2-2ubuntu2.1 |
4.86.2-2ubuntu2.2 |
eximopenSUSE:Leap 15.2 From an advisory covering 26 CVEs |
before 4.94.2-lp152.8.3.1 | 4.94.2-lp152.8.3.1 |
eximSUSE:Package Hub 15 SP1 From an advisory covering 30 CVEs |
before 4.94.2-bp151.2.4.1 | 4.94.2-bp151.2.4.1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libspf2SUSE:Package Hub 15 SP1 From an advisory covering 30 CVEs |
before 1.2.10-bp151.4.1 | 1.2.10-bp151.4.1 |
eximSUSE:Package Hub 15 SP2 From an advisory covering 26 CVEs |
before 4.94.2-bp152.6.4.1 | 4.94.2-bp152.6.4.1 |
libspf2SUSE:Package Hub 15 SP2 From an advisory covering 26 CVEs |
before 1.2.10-bp152.5.1 | 1.2.10-bp152.5.1 |
eximopenSUSE:Tumbleweed From an advisory covering 31 CVEs |
before 4.94.2-4.2 | 4.94.2-4.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-1000369 is a medium vulnerability (CVSS 4.0) in Exim, published June 19, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. Fixed in exim4 4.89-3.
References
github.com/Exim/exim/commit/65e061b76867a9ea7aeeb535341b790b90ae6c21
securitytracker.com/id/1038779
securityfocus.com/bid/99252
access.redhat.com/security/cve/CVE-2017-1000369
security.gentoo.org/glsa/201709-19
qualys.com/2017/06/19/stack-clash/stack-clash.txt
Show 50 moreShow less
debian.org/security/2017/dsa-3888
nvd.nist.gov/vuln/detail/CVE-2017-1000369
github.com/advisories/GHSA-wrh8-mmqh-q688
security-tracker.debian.org/tracker/CVE-2017-1000369
ubuntu.com/security/CVE-2017-1000369
ubuntu.com/security/notices/USN-3322-1
cve.org/CVERecord?id=CVE-2017-1000369
lists.opensuse.org/archives/list/[email protected]/thread/4UGIR4NXSH3ADTQNJZHHL5EVSFNXRGTQ
bugzilla.suse.com/1079832
bugzilla.suse.com/1171490
bugzilla.suse.com/1171877
bugzilla.suse.com/1173693
bugzilla.suse.com/1185631
suse.com/security/cve/CVE-2017-1000369
suse.com/security/cve/CVE-2017-16943
suse.com/security/cve/CVE-2017-16944
suse.com/security/cve/CVE-2018-6789
suse.com/security/cve/CVE-2019-16928
suse.com/security/cve/CVE-2020-12783
suse.com/security/cve/CVE-2020-28007
suse.com/security/cve/CVE-2020-28008
suse.com/security/cve/CVE-2020-28009
suse.com/security/cve/CVE-2020-28010
suse.com/security/cve/CVE-2020-28011
suse.com/security/cve/CVE-2020-28012
suse.com/security/cve/CVE-2020-28013
suse.com/security/cve/CVE-2020-28014
suse.com/security/cve/CVE-2020-28015
suse.com/security/cve/CVE-2020-28016
suse.com/security/cve/CVE-2020-28017
suse.com/security/cve/CVE-2020-28018
suse.com/security/cve/CVE-2020-28019
suse.com/security/cve/CVE-2020-28020
suse.com/security/cve/CVE-2020-28021
suse.com/security/cve/CVE-2020-28022
suse.com/security/cve/CVE-2020-28023
suse.com/security/cve/CVE-2020-28024
suse.com/security/cve/CVE-2020-28025
suse.com/security/cve/CVE-2020-28026
lists.opensuse.org/archives/list/[email protected]/thread/UMX36VOLIS2TDKA3MXOUO365NDUK5WQ3
bugzilla.suse.com/1136587
bugzilla.suse.com/1142207
bugzilla.suse.com/1154183
bugzilla.suse.com/1160726
suse.com/security/cve/CVE-2019-10149
suse.com/security/cve/CVE-2019-13917
suse.com/security/cve/CVE-2019-15846
suse.com/security/cve/CVE-2020-8015
lists.opensuse.org/archives/list/[email protected]/thread/3FZPX7R5ELKQM2EW7W2JYZ7EFIIDTT4E
suse.com/security/cve/CVE-2016-9963
Left out here: the rest of 3 source descriptions. The JSON record has them.