Vulnerabilities / CVE-2017-16943

critical

CVE-2017-16943

exim: use-after-free in receive_msg function via vectors involving BDAT commands

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat, Amazon. Rated lower by Ubuntu (high).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1exim, exim-debuginfo, exim-greylist and 3 more4.89-4.17.amzn1
alpine 3.10exim4.89-r7
alpine 3.11exim4.89-r7
alpine 3.12exim4.89-r7
alpine 3.13exim4.89-r7
alpine 3.14exim4.89-r7
alpine 3.15exim4.89-r7
alpine 3.16exim4.89-r7
alpine 3.17exim4.89-r7
alpine 3.18exim4.89-r7
alpine 3.19exim4.89-r7
alpine 3.20exim4.89-r7
Show all 33 entries from 28 sources
SourcePackageFixed in
amazon linux 1exim4.89-4.17.amzn1
amazon linux 1exim-debuginfo4.89-4.17.amzn1
amazon linux 1exim-greylist4.89-4.17.amzn1
amazon linux 1exim-mon4.89-4.17.amzn1
amazon linux 1exim-mysql4.89-4.17.amzn1
amazon linux 1exim-pgsql4.89-4.17.amzn1
alpine 3.10exim4.89-r7
alpine 3.11exim4.89-r7
alpine 3.12exim4.89-r7
alpine 3.13exim4.89-r7
alpine 3.14exim4.89-r7
alpine 3.15exim4.89-r7
alpine 3.16exim4.89-r7
alpine 3.17exim4.89-r7
alpine 3.18exim4.89-r7
alpine 3.19exim4.89-r7
alpine 3.20exim4.89-r7
alpine 3.21exim4.89-r7
alpine 3.22exim4.89-r7
alpine 3.23exim4.89-r7
alpine 3.24exim4.89-r7
alpine 3.7exim4.89-r7
alpine 3.8exim4.89-r7
alpine 3.9exim4.89-r7
alpine edgeexim4.89-r7
debian 11exim44.89-12
debian 12exim44.89-12
debian 13exim44.89-12
debian 14exim44.89-12
debian 9exim44.89-2+deb9u2
echoexim44.89-12
ubuntu 17.04exim44.88-5ubuntu1.2
ubuntu 17.10exim44.89-5ubuntu1.1

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.