CVE-2025-53859NGINX ngx_mail_smtp_module vulnerability
NGINX Open Source and NGINX Plus have a vulnerability in the ngx_mail_smtp_module that might allow an unauthenticated attacker to over-read NGINX SMTP authentication process memory; as a result, the server side may leak arbitrary bytes sent in a request to the authentication server. This issue happens during the NGINX SMTP authentication process and requires the attacker to make preparations against the target system to extract the leaked data. The issue affects NGINX only if (1) it is built with the ngx_mail_smtp_module, (2) the smtp_auth directive is configured with method "none," and (3) the authentication server returns the "Auth-Wait" response header. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
What to do
Fixed builds are available from Alpine, Debian, 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | nginx | Fixed | 1.26.3-3ubuntu3 | UBUNTU-CVE-2025-53859 |
| Ubuntu 24.04 | nginx | Fixed | 1.24.0-2ubuntu7.5 | UBUNTU-CVE-2025-53859 |
| Ubuntu 22.04 | nginx | Fixed | 1.18.0-6ubuntu14.7 | UBUNTU-CVE-2025-53859 |
| Ubuntu 20.04 | nginx | Fix pending | 1.18.0-0ubuntu1.7+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-53859 |
| Ubuntu 18.04 | nginx | Fix pending | 1.14.0-0ubuntu1.11+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-53859 |
| Ubuntu 16.04 | nginx | Fix pending | 1.10.3-0ubuntu0.16.04.5+esm7 (Ubuntu Pro) | UBUNTU-CVE-2025-53859 |
| Ubuntu 14.04 | nginx | Fix pending | 1.4.6-1ubuntu3.9+esm6 (Ubuntu Pro) | UBUNTU-CVE-2025-53859 |
| Debian 14 | nginx | Fixed | 1.28.0-3 | DEBIAN-CVE-2025-53859 |
| Debian 13 | nginx | Fixed | 1.26.3-3+deb13u1 | DEBIAN-CVE-2025-53859 |
| Debian 12 | nginx | Fixed | 1.22.1-9+deb12u3 | DEBIAN-CVE-2025-53859 |
| Red Hat Enterprise Linux 10 | nginx | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-all-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-http-image-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-http-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-http-xslt-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-mail | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nginx-mod-stream | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-all-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-image-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-xslt-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-mail | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nginx-mod-stream | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-all-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-http-image-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-http-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-http-xslt-filter | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-mail | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nginx-mod-stream | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | nginx | Fixed | 1.28.2-r0 | ALPINE-CVE-2025-53859 |
| Alpine Linux 3.23 | nginx | Fixed | 1.28.2-r0 | ALPINE-CVE-2025-53859 |
| Alpine Linux 3.22 | nginx | Fixed | 1.28.2-r0 | ALPINE-CVE-2025-53859 |
| Alpine Linux 3.21 | nginx | Fixed | 1.26.3-r4 | ALPINE-CVE-2025-53859 |
What the vendor says
As published in the CVE record by f5, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- F5 NGINX Plus: affected: R35 not affected, R34 to before R34 P2, R33 to before R33 P3, R32 to before R32 P3, R31 and later, R30 and later
- F5 NGINX Open Source: affected: 0.7 to before 1.29.1; fixed in
1.29.1
Vendor advisories:
- https://my.f5.com/manage/s/article/K000152786 (vendor-advisory)
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.