CVE-2023-51766 json
Exim before 4.97.1 allows SMTP smuggling in certain PIPELINING/CHUNKING configurations.
published 2023-12-24 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-56455
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- exim exim 4.97.1
- exim4 Debian 12 4.96-15+deb12u4
- exim4 Debian 14, Debian 13 4.97-3
debian advisories DEBIAN-CVE-2023-51766
- exim4 Ubuntu 20.04 LTS 4.93-13ubuntu1.10
- exim4 Ubuntu 22.04 LTS 4.95-4ubuntu2.5
- exim4 Ubuntu Pro 14.04 LTS 4.82-3ubuntu2.4+esm9
- exim4 Ubuntu Pro 16.04 LTS 4.86.2-2ubuntu2.6+esm6
- exim4 Ubuntu Pro 18.04 LTS 4.90.1-1ubuntu1.10+esm3
ubuntu advisories UBUNTU-CVE-2023-51766
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- exim openSUSE Tumbleweed 4.97.1-1.1
- exim Package Hub 15 SP5, openSUSE Leap 15.5 4.97.1-bp155.5.9.1
opensuse advisories openSUSE-SU-2024:13543-1openSUSE-SU-2024:0007-1
- exim Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 4.97.1-r0
alpine advisories ALPINE-CVE-2023-51766
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-51766 updated cvss 4.3
exim: SMTP smuggling vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- youtube.com https://www.youtube.com/watch?v=V8KPV96g1To referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
- Weakness
-
- CWE-345 Insufficient Verification of Data Authenticity
References
-
git.exim.org
/exim.git/commit/5bb786d5ad568a88d50d15452aacc8404047e5ca
patch
-
git.exim.org
/exim.git/commit/cf1376206284f2a4f11e32d931d4aade34c206c5
patch
-
youtube.com
/watch?v=V8KPV96g1To
exploit
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/
vendor-advisory, mailing-list, third-party-advisory
-
bugs.exim.org
/show_bug.cgi?id=3063
issue-tracking, vendor-advisory
-
github.com
/Exim/exim/blob/master/doc/doc-txt/cve-2023-51766
mitigation, vendor-advisory
-
sec-consult.com
/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/
technical-description, third-party-advisory
-
exim.org
/static/doc/security/CVE-2023-51766.txt
broken-link
-
openwall.com
/lists/oss-security/2023/12/23/2
issue-tracking, mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2023/12/24/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2023/12/25/1
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2255852
issue-tracking, third-party-advisory
-
fahrplan.events.ccc.de
/congress/2023/fahrplan/events/11782.html
technical-description
-
openwall.com
/lists/oss-security/2023/12/29/2
mailing-list, mitigation, third-party-advisory
-
openwall.com
/lists/oss-security/2024/01/01/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/01/01/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/01/01/3
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/01/msg00002.html
mailing-list, third-party-advisory
-
lwn.net
/Articles/956533/
third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/ORN7OKEQPPBKUHYRQ6LR5PSNBQVDHAWB/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/QPDWHJPABVJCXDSNELSSVTIVAJU2MDUQ/
Sources
- CVE List CVE-2023-51766
- NVD CVE-2023-51766
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.