cve.bz

CVE-2017-16943 Use After Free

9.8 criticalExploit referenceEPSS 47%Fix available

Critical (9.8). EPSS 47% estimated probability of exploitation activity in the next 30 days.

On this page
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via vectors involving BDAT commands.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
47% (unchanged from 47% a week ago; 47% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-16943 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-16943?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-16943?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-16943 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exim:exim4.88
exim:exim4.89
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exim44.89-2+deb9u2DSA-4053-1
Debian12, 13, 14exim44.89-12DEBIAN-CVE-2017-16943
SUSEPackage Hub 15 SP1exim4.94.2-bp151.2.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP1libspf21.2.10-bp151.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP2exim4.94.2-bp152.6.4.1openSUSE-SU-2021:0754-1
SUSEPackage Hub 15 SP2libspf21.2.10-bp152.5.1openSUSE-SU-2021:0754-1
openSUSELeap 15.2exim4.94.2-lp152.8.3.1openSUSE-SU-2021:0677-1
openSUSETumbleweedexim4.94.2-4.2openSUSE-SU-2024:10746-1
Alpinev3.7, v3.8, v3.9 and 15 moreexim4.89-r7ALPINE-CVE-2017-16943

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Critical.

Red Hat's mitigation

if you are running Exim 4.88 or newer, then in the main section of your Exim configuration, set:

chunking_advertise_hosts =

This disables advertising the ESMTP CHUNKING extension, making the BDAT verb unavailable and avoids letting an attacker apply the logic.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5eximNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-16943.

References

Check your stackJSON