Vulnerabilities / CVE-2018-6789

critical

CVE-2018-6789

exim: buffer overflow in b64decode() function, possibly leading to remote code execution

Published Modified CWE 120
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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.0/AV:N/AC:H/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 (medium).

Description

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. By sending a handcrafted message, a buffer overflow may happen. This can be used to execute code remotely.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1exim, exim-debuginfo, exim-greylist and 3 more4.90.1-2.14.amzn1
alpine 3.10exim4.90.1-r0
alpine 3.11exim4.90.1-r0
alpine 3.12exim4.90.1-r0
alpine 3.13exim4.90.1-r0
alpine 3.14exim4.90.1-r0
alpine 3.15exim4.90.1-r0
alpine 3.16exim4.90.1-r0
alpine 3.17exim4.90.1-r0
alpine 3.18exim4.90.1-r0
alpine 3.19exim4.90.1-r0
alpine 3.20exim4.90.1-r0
Show all 38 entries from 33 sources
SourcePackageFixed in
amazon linux 1exim4.90.1-2.14.amzn1
amazon linux 1exim-debuginfo4.90.1-2.14.amzn1
amazon linux 1exim-greylist4.90.1-2.14.amzn1
amazon linux 1exim-mon4.90.1-2.14.amzn1
amazon linux 1exim-mysql4.90.1-2.14.amzn1
amazon linux 1exim-pgsql4.90.1-2.14.amzn1
alpine 3.10exim4.90.1-r0
alpine 3.11exim4.90.1-r0
alpine 3.12exim4.90.1-r0
alpine 3.13exim4.90.1-r0
alpine 3.14exim4.90.1-r0
alpine 3.15exim4.90.1-r0
alpine 3.16exim4.90.1-r0
alpine 3.17exim4.90.1-r0
alpine 3.18exim4.90.1-r0
alpine 3.19exim4.90.1-r0
alpine 3.20exim4.90.1-r0
alpine 3.21exim4.90.1-r0
alpine 3.22exim4.90.1-r0
alpine 3.23exim4.90.1-r0
alpine 3.24exim4.90.1-r0
alpine 3.7exim4.90.1-r0
alpine 3.8exim4.90.1-r0
alpine 3.9exim4.90.1-r0
alpine edgeexim4.90.1-r0
debian 11exim44.90.1-1
debian 12exim44.90.1-1
debian 13exim44.90.1-1
debian 14exim44.90.1-1
debian 7exim44.80-7+deb7u6
debian 8exim44.84.2-2+deb8u5
debian 9exim44.89-2+deb9u3
echoexim44.90.1-1
ubuntu 14.04exim44.82-3ubuntu2.4
ubuntu 14.04-ESMexim44.82-3ubuntu2.4
ubuntu 16.04exim44.86.2-2ubuntu2.3
ubuntu 16.04-ESMexim44.86.2-2ubuntu2.3
ubuntu 17.10exim44.89-5ubuntu1.3

References

All 19 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.