CVE-2017-16944
HighPublic exploitThe receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial of service (infinite loop and stack exhaustion) via vectors involving BDAT commands and an improper check for a '.' character signifying the end of the…
Published May 5, 2021 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2017-16944, UBUNTU-CVE-2017-16944
Key Facts
Patch immediately- CVE-2017-16944 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Exim, Debian Linux, exim4 (debian) and 9 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 63% probability of exploitation in the next 30 days.
- Fixed versions are available, including Exim 4.89-4.17.amzn1, Exim 4.89.1-1, Exim 4.89.1-r0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (30-day exploit likelihood)
63%
Higher than 99.2% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2017-16944 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial of service (infinite loop and stack exhaustion) via vectors involving BDAT commands and an improper check for a '.' character signifying the end of the content, related to the bdat_getc function.
Affected Products
57 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| EximExim | 4.88, 4.89 | 4.89.1-1 |
| Debian LinuxDebian | 9.0 | n/a |
| exim4debian | See advisory | 4.89-13 |
| exim-greylistamazon | See advisory | 4.89-4.17.amzn1 |
| exim-monamazon | See advisory | 4.89-4.17.amzn1 |
Patched Releases
Exim
4.89-4.17.amzn1, 4.89.1-1, 4.89.1-r0, 4.94.2-4.2, 4.94.2-bp151.2.4.1, 4.94.2-bp152.6.4.1, 4.94.2-lp152.8.3.1
exim-greylist
4.89-4.17.amzn1
exim-mon
4.89-4.17.amzn1
exim-mysql
4.89-4.17.amzn1
exim-pgsql
4.89-4.17.amzn1
exim4
4.89-13, 4.89-2+deb9u2
eximon
4.94.2-4.2, 4.94.2-bp151.2.4.1, 4.94.2-bp152.6.4.1, 4.94.2-lp152.8.3.1
eximstats-html
4.94.2-4.2, 4.94.2-bp151.2.4.1, 4.94.2-bp152.6.4.1, 4.94.2-lp152.8.3.1
libspf2-2
1.2.10-bp151.4.1, 1.2.10-bp152.5.1
libspf2-devel
1.2.10-bp151.4.1, 1.2.10-bp152.5.1
libspf2-tools
1.2.10-bp151.4.1, 1.2.10-bp152.5.1
Timeline
Publicly disclosed
May 5, 2021
Last updated
Aug 4, 2026
Weakness Type
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- advisoryhttps://blog.qualys.com/vulnerabilities-research/2021/05/04/21nails-multiple-vulnerabilities-in-exim-mail-server
- advisoryhttps://blog.qualys.com/vulnerabilities-research/2021/05/04/21nails-multiple-vulnerabilities-in-exim-mail-server/
- advisoryhttps://blog.qualys.com/vulnerabilities-research/2021/05/04/21nails-multiple-vulnerabilities-in-exim-mail-server?utm_source=dlvr.it&utm_medium=twitter
- advisoryhttps://github.com/iphelix/dnschef
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2017-16944
FAQ
Common Questions.
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial of service (infinite loop and stack exhaustion) via vectors involving BDAT commands and an improper check for a '.' character signifying the end of the content, related to the bdat_getc function.
Affected: Exim versions 4.88, 4.89; Debian Linux versions 9.0; exim4 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Exim 4.89-4.17.amzn1, Exim 4.89.1-1, Exim 4.89.1-r0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2017-16944 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo