cve.bz

CVE-2023-51764

5.3 mediumExploit referenceEPSS 2.6%

Medium (5.3). EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-345 Insufficient Verification of Data Authenticity
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-51764 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-51764?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-51764?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-51764 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-51764

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-51764](https://cve.bz/cve/badge/CVE-2023-51764.svg)](https://cve.bz/cve/CVE-2023-51764)

HTML:

<a href="https://cve.bz/cve/CVE-2023-51764"><img src="https://cve.bz/cve/badge/CVE-2023-51764.svg" alt="CVE-2023-51764"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postfix:postfixbefore 3.5.23
postfix:postfixfrom 3.6.0 before 3.6.13
postfix:postfixfrom 3.7.0 before 3.7.9
postfix:postfixfrom 3.8.0 before 3.8.4
fedoraproject:fedora38
fedoraproject:fedora39
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10postfix3.4.23-0+deb10u2DLA-3725-1
Debian12postfix3.7.9-0+deb12u1DEBIAN-CVE-2023-51764
Debian13, 14postfix3.8.4-1DEBIAN-CVE-2023-51764
Ubuntu20.04:LTSpostfix3.4.13-0ubuntu1.4UBUNTU-CVE-2023-51764 USN-6591-1 USN-6591-2
Ubuntu22.04:LTSpostfix3.6.4-1ubuntu1.3UBUNTU-CVE-2023-51764 USN-6591-1 USN-6591-2
UbuntuPro:14.04:LTSpostfix2.11.0-1ubuntu1.2+esm3UBUNTU-CVE-2023-51764 USN-6591-1 USN-6591-2
UbuntuPro:16.04:LTSpostfix3.1.0-3ubuntu0.4+esm3UBUNTU-CVE-2023-51764 USN-6591-1 USN-6591-2
UbuntuPro:18.04:LTSpostfix3.3.0-1ubuntu0.4+esm3UBUNTU-CVE-2023-51764 USN-6591-1 USN-6591-2
Red Hatenterprise_linux:9::appstreampostfix, postfix-cdb, postfix-ldap and 15 more2:3.5.25-1.el9RHSA-2024:9243
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morepostfix, postfix-bdb3.5.9-150300.5.15.1SUSE-SU-2024:0012-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP4, Linux Enterprise Real Time 15 SP4 and 2 morepostfix3.5.9-150300.5.15.1SUSE-SU-2024:0012-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5postfix3.7.3-150500.3.11.1SUSE-SU-2023:4981-1
SUSELinux Enterprise Module for Legacy 15 SP4postfix-bdb3.5.9-150300.5.15.1SUSE-SU-2024:0012-1
SUSELinux Enterprise Module for Legacy 15 SP5postfix-bdb3.7.3-150500.3.11.1SUSE-SU-2023:4981-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5postfix3.2.10-3.30.1SUSE-SU-2024:1149-1
openSUSELeap 15.4postfix, postfix-bdb3.5.9-150300.5.15.1SUSE-SU-2024:0012-1
openSUSELeap 15.5postfix, postfix-bdb3.7.3-150500.3.11.1SUSE-SU-2023:4981-1
openSUSETumbleweedpostfix3.8.4-2.1openSUSE-SU-2024:13538-1
AlmaLinux9postfix, postfix-cdb, postfix-ldap and 6 more2:3.5.25-1.el9ALSA-2024:9243
Rocky Linux9postfix2:3.5.25-1.el9RLSA-2024:9243
Azure Linux2postfix3.7.0-3AZL-32296
Azure Linux3postfix3.9.0-1AZL-35110

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The impact is considered Moderate likely due to certain conditions required for successful exploitation, such as specific server configurations.

Red Hat's mitigation

This flaw can be PARTIALLY mitigated via the following options in the main.cf:

smtpd_data_restrictions = reject_unauth_pipelining

smtpd_discard_ehlo_keywords = chunking, silent-discard

Please note this only blocks the misuse of SMTP command pipelining, but does not address message pipelining nor malformed line endings. The only fix for these issues are via package updates.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9postfix-2:3.5.25-1.el9Fixed 2024-11-12RHSA-2024:9243
Red Hat Enterprise Linux 6postfixOut of support scope
Red Hat Enterprise Linux 7postfixOut of support scope
Red Hat Enterprise Linux 8postfixFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-51764.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Inbound Setup Message from SMTP Smuggling Tool sid 2049923
  • Emerging Threats Open ET EXPLOIT Inbound Smuggling Message from SMTP Smuggling Tool M1 sid 2049924
  • Emerging Threats Open ET EXPLOIT Inbound Smuggling Message from SMTP Smuggling Tool M2 sid 2049925

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON