CVE-2025-53859 NGINX ngx_mail_smtp_module vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- NginxUbuntuDebian
Description
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.
Upgrade path
13 packages: 12 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| f5 NGINX Plus | = r30; = r31; = r32; = r32-p1 +11 more | R32 P3, R33 P3, R34 P2 | Partially fixed |
| alpine/nginx(Alpine v3.21) | < 1.26.3-r4 | 1.26.3-r4 | Fixed |
| alpine/nginx(Alpine v3.22) | < 1.28.2-r0 | 1.28.2-r0 | Fixed |
| alpine/nginx(Alpine v3.23) | < 1.28.2-r0 | 1.28.2-r0 | Fixed |
| alpine/nginx(Alpine v3.24) | < 1.28.2-r0 | 1.28.2-r0 | Fixed |
| debian/nginx(Debian 12) | < 1.22.1-9+deb12u3; = 1.22.1-9; = 1.22.1-9+deb12u1; = 1.22.1-9+deb12u2 | 1.22.1-9+deb12u3 | Fixed |
| debian/nginx(Debian 13) | < 1.26.3-3+deb13u1; = 1.26.3-3 | 1.26.3-3+deb13u1 | Fixed |
| debian/nginx(Debian 14) | < 1.28.0-3; = 1.26.3-3; = 1.28.0-1; = 1.28.0-2 | 1.28.0-3 | Fixed |
| f5 nginx(Azure Linux 3.0) | < 1.25.4-5 | 1.25.4-5 | Fixed |
| f5 nginx(CBL-Mariner 2.0) | < 1.22.1-14 | 1.22.1-14 | Fixed |
| f5 NGINX Open Source | >= 0.7, < 1.29.1; >= 0.7.22, < 1.29.1 | 1.29.1 | Fixed |
| ubuntu/nginx(Ubuntu 22.04) | < 1.18.0-6ubuntu14.7 | 1.18.0-6ubuntu14.7 | Fixed |
| ubuntu/nginx(Ubuntu 24.04) | < 1.24.0-2ubuntu7.5 | 1.24.0-2ubuntu7.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| f5 nginx(CBL-Mariner:2.0) | < 1.22.1-14 | 1.22.1-14 |
| f5 nginx(Azure Linux:3.0) | < 1.25.4-5 | 1.25.4-5 |
| debian/nginx(Debian:12) | < 1.22.1-9+deb12u3 | 1.22.1-9+deb12u3 |
| debian/nginx(Debian:12) | = 1.22.1-9 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u1 | No fix listed |
| debian/nginx(Debian:12) | = 1.22.1-9+deb12u2 | No fix listed |
| debian/nginx(Debian:13) | < 1.26.3-3+deb13u1 | 1.26.3-3+deb13u1 |
| debian/nginx(Debian:13) | = 1.26.3-3 | No fix listed |
| debian/nginx(Debian:14) | < 1.28.0-3 | 1.28.0-3 |
| debian/nginx(Debian:14) | = 1.26.3-3 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-1 | No fix listed |
| debian/nginx(Debian:14) | = 1.28.0-2 | No fix listed |
| f5 NGINX Plus | >= R34, < R34 P2 | R34 P2 |
| f5 NGINX Plus | >= R33, < R33 P3 | R33 P3 |
| f5 NGINX Plus | >= R32, < R32 P3 | R32 P3 |
| f5 NGINX Plus | >= R31 | No fix listed |
| f5 NGINX Plus | >= R30 | No fix listed |
| f5 NGINX Open Source | >= 0.7, < 1.29.1 | 1.29.1 |
| ubuntu/nginx(Ubuntu:22.04) | < 1.18.0-6ubuntu14.7 | 1.18.0-6ubuntu14.7 |
| ubuntu/nginx(Ubuntu:24.04) | < 1.24.0-2ubuntu7.5 | 1.24.0-2ubuntu7.5 |
| f5 NGINX Plus | = r30 | No fix listed |
| f5 NGINX Plus | = r31 | No fix listed |
| f5 NGINX Plus | = r32 | No fix listed |
| f5 NGINX Plus | = r32-p1 | No fix listed |
| f5 NGINX Plus | = r32-p2 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| f5 NGINX Plus | = r33 | No fix listed |
| f5 NGINX Plus | = r33-p1 | No fix listed |
| f5 NGINX Plus | = r33-p2 | No fix listed |
| f5 NGINX Plus | = r34 | No fix listed |
| f5 NGINX Plus | = r34-p1 | No fix listed |
| f5 NGINX Open Source | >= 0.7.22, < 1.29.1 | 1.29.1 |
| alpine/nginx(Alpine:v3.21) | < 1.26.3-r4 | 1.26.3-r4 |
| alpine/nginx(Alpine:v3.22) | < 1.28.2-r0 | 1.28.2-r0 |
| alpine/nginx(Alpine:v3.23) | < 1.28.2-r0 | 1.28.2-r0 |
| alpine/nginx(Alpine:v3.24) | < 1.28.2-r0 | 1.28.2-r0 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-53859 vendor-advisory
- my.f5.com vendor-advisory
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- USN-7715-1 vendor-advisory
- USN-8375-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking