# CVE-2023-51764: Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpddatarestrictions=rejectunauthpipelining and smtpddiscardehlokeyword…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.63%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2023-12-24T00:00:00.000Z
- Modified: 2026-10-08T21:17:49.743Z
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpd_data_restrictions=reject_unauth_pipelining and smtpd_discard_ehlo_keywords=chunking (or certain other options that exist in recent versions). 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 Postfix supports <LF>.<CR><LF> but some other popular e-mail servers do not. To prevent attack variants (by always disallowing <LF> without <CR>), a different solution is required, such as the smtpd_forbid_bare_newline=yes option with a Postfix minimum version of 3.5.23, 3.6.13, 3.7.9, 3.8.4, or 3.9.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- postfix postfix: before 3.5.23; from 3.6.0 before 3.6.13; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.4
- fedoraproject fedora: 38; 39
- redhat enterprise_linux: 8.0; 9.0

## References

- <https://www.postfix.org/smtp-smuggling.html> (exploit, mitigation, vendor-advisory)
- <https://github.com/eeenvik1/CVE-2023-51764> (exploit, third-party-advisory)
- <https://github.com/duy-31/CVE-2023-51764> (exploit, third-party-advisory)
- <https://www.youtube.com/watch?v=V8KPV96g1To> (exploit)
- <https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/> (technical-description, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/12/24/1> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/12/25/1> (mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2255563> (issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-51764> (third-party-advisory)
- <https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html> (technical-description)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QRLF5SOS7TP5N7FQSEK2NFNB44ISVTZC/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JQ5WXFCW2N6G2PH3JXDTYW5PH5EBQEGO/> (vendor-advisory)
- <https://lwn.net/Articles/956533/>
- <https://www.openwall.com/lists/oss-security/2024/01/22/1>
- <https://www.postfix.org/announcements/postfix-3.8.5.html>
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00020.html> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2024/05/09/3> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRLF5SOS7TP5N7FQSEK2NFNB44ISVTZC/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQ5WXFCW2N6G2PH3JXDTYW5PH5EBQEGO/>

## Sources

- CVE List: [CVE-2023-51764](https://www.cve.org/CVERecord?id=CVE-2023-51764), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2023-51764](https://nvd.nist.gov/vuln/detail/CVE-2023-51764), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2023-51764 · Whole record: https://cve.day/CVE-2023-51764.json · Rebuilt by cve.day 2026-11-25T22:58:31.651Z
