CVE-2025-53859
nginx: NGINX ngx_mail_smtp_module vulnerability
Overview
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.
Source: OX vulnerability database
Severity
3.7 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-125
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | nginx | >=0.7.0, <1.29.1 | 1.29.1 |
| Bitnami | nginx-gateway | >=0.7.0, <1.29.1 | 1.29.1 |
Open a package to see all its vulnerabilities.
Operating systems · 32 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nginx | 0:1.25.4-5.azl3 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nginx | 1.26.3-1.ph4 |
| 5.0 | nginx +6 | 1.26.3-1.ph5 |
Red Hat 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 (nginx:1.22) | nginx +8 | affected |
| 8 (nginx:1.24) | nginx +8 | affected |
| 9 | nginx +9 | affected |
| 9 (nginx:1.22) | nginx +9 | affected |
| 9 (nginx:1.24) | nginx +9 | affected |
| 9 (nginx:1.26) | nginx +9 | affected |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | nginx +1 | 1.21.5-150600.10.12.1 | SUSE-SU-2025:03444-1 |
| 15.7 | nginx +1 | 1.21.5-150600.10.12.1 | SUSE-SU-2025:03444-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nginx | 1.28.2-r0 |
| 3.23 | nginx | 1.28.2-r0 |
| 3.24 | nginx | 1.28.2-r0 |
| edge | nginx | 1.28.2-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nginx +17 | 1:1.28.0-1.amzn2023.0.2 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx-stable | 1.30.0-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nginx | 1.18.0-6.1+deb11u6 |
| 12 | nginx | 1.22.1-9+deb12u3 |
| 13 | nginx | 1.26.3-3+deb13u1 |
| 14 | nginx | 1.28.0-3 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx | 1.22.1-9+deb12u3 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nginx-1-28 | 1.28.0-r0 | |
| nginx-1-29 | 1.29.1-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | nginx +1 | 1.29.1-1.1 | openSUSE-SU-2025:15449-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | nginx +1 | 1.22.1-9+deb12u3 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | nginx | 1.14.0-0ubuntu1.11+esm2 |
| 20.04-ESM | nginx | 1.18.0-0ubuntu1.7+esm1 |
| 22.04 | nginx | 1.18.0-6ubuntu14.7 |
| 24.04 | nginx | 1.24.0-2ubuntu7.5 |
| 26.04 | nginx | 1.26.3-3ubuntu3 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx-stable | 1.30.0-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/08/13/5
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-53859
- my.f5.com https://my.f5.com/manage/s/article/K000152786
- nginx.org https://nginx.org/download/patch.2025.smtp.txt
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-53859
- ubuntu.com https://ubuntu.com/security/notices/USN-7715-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8375-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-53859
- www.openwall.com https://www.openwall.com/lists/oss-security/2025/08/13/5
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.