CWE
345
Advisory Published
Updated

CVE-2023-51766: Exim: SMTP smuggling

First published: Sun Dec 24 2023(Updated: )

Exim before 4.97.1 allows SMTP smuggling in certain PIPELINING/CHUNKING configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Exim supports <LF>.<CR><LF> but some other popular e-mail servers do not.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ubuntu/exim4<4.90.1-1ubuntu1.10+
4.90.1-1ubuntu1.10+
ubuntu/exim4<4.93-13ubuntu1.10
4.93-13ubuntu1.10
ubuntu/exim4<4.95-4ubuntu2.5
4.95-4ubuntu2.5
ubuntu/exim4<4.96-17ubuntu2.2
4.96-17ubuntu2.2
ubuntu/exim4<4.97-3
4.97-3
ubuntu/exim4<4.97-3
4.97-3
ubuntu/exim4<4.86.2-2ubuntu2.6+
4.86.2-2ubuntu2.6+
debian/exim4
4.94.2-7+deb11u2
4.94.2-7+deb11u3
4.96-15+deb12u4
4.96-15+deb12u5
4.98-1
sa-exim<4.97.1
Fedora EPEL=7.0
Fedora EPEL=8.0
Fedora EPEL=9.0
Fedora=38
Fedora=39
Debian=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2023-51766?

    CVE-2023-51766 is considered a high severity vulnerability due to its potential to allow remote attackers to bypass SPF mechanisms.

  • How do I fix CVE-2023-51766?

    To fix CVE-2023-51766, upgrade Exim to version 4.97.1 or later.

  • Which versions of Exim are affected by CVE-2023-51766?

    CVE-2023-51766 affects Exim versions prior to 4.97.1 across multiple operating systems including various Ubuntu and Debian releases.

  • Can CVE-2023-51766 allow unauthorized email sending?

    Yes, CVE-2023-51766 can allow unauthorized email sending by enabling spoofed MAIL FROM addresses.

  • What mitigation measures can be taken against CVE-2023-51766?

    In addition to upgrading Exim, implementing strict email validation and monitoring SMTP traffic can help mitigate CVE-2023-51766.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203