CVE-2023-51764Postfix
Medium 5.3 No auth needed
Follow: this CVE · Postfix · Postfix We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Dec 24, 2023
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Postfix.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postfix | postfix | < 3.5.23 |
| postfix | postfix | ≥ 3.6.0 < 3.6.13 |
| postfix | postfix | ≥ 3.7.0 < 3.7.9 |
| postfix | postfix | ≥ 3.8.0 < 3.8.4 |
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- fahrplan.events.ccc.de Technical Description
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lwn.net
- sec-consult.com Technical Description Third Party Advisory
- www.openwall.com
- www.postfix.org
- www.postfix.org Exploit Mitigation Vendor Advisory
- www.youtube.com Exploit
- lists.fedoraproject.org
- lists.fedoraproject.org