CVEfocus › CVE database › CVE-2023-51764

CVE-2023-51764

EPSS 3.0% (higher than 88% of CVEs)Published 2023-12-24Updated 2026-10-08Assigner: mitre

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

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
11Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04postfixFixed3.6.4-1ubuntu1.3UBUNTU-CVE-2023-51764
Ubuntu 20.04postfixFixed3.4.13-0ubuntu1.4UBUNTU-CVE-2023-51764
Ubuntu 18.04postfixFix pending3.3.0-1ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-51764
Ubuntu 16.04postfixFix pending3.1.0-3ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-51764
Ubuntu 14.04postfixFix pending2.11.0-1ubuntu1.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-51764
Debian 14postfixFixed3.8.4-1DEBIAN-CVE-2023-51764
Debian 13postfixFixed3.8.4-1DEBIAN-CVE-2023-51764
Debian 12postfixFixed3.7.9-0+deb12u1DEBIAN-CVE-2023-51764
Red Hat Enterprise Linux 9postfixFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-cdbFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-ldapFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-lmdbFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-mysqlFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-pcreFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-perl-scriptsFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-pgsqlFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 9postfix-sqliteFixed2:3.5.25-1.el9RHSA-2024:9243
Red Hat Enterprise Linux 8postfixFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-cdbFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-ldapFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-pcreFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-perl-scriptsFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 8postfix-sqliteFix pending
Fix deferred
Red Hat Enterprise Linux 7postfixWill not fix
Out of support scope
Red Hat Enterprise Linux 7postfix-perl-scriptsWill not fix
Out of support scope
Red Hat Enterprise Linux 7postfix-sysvinitWill not fix
Out of support scope
Red Hat Enterprise Linux 6postfixWill not fix
Out of support scope
Red Hat Enterprise Linux 6postfix-perl-scriptsWill not fix
Out of support scope
AlmaLinux 9postfixFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-cdbFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-ldapFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-lmdbFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-mysqlFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-pcreFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-perl-scriptsFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-pgsqlFixed2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux 9postfix-sqliteFixed2:3.5.25-1.el9ALSA-2024:9243
Rocky Linux 9postfixFixed2:3.5.25-1.el9RLSA-2024:9243

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.