# CVE-2025-53859: NGINX ngx_mail_smtp_module vulnerability

- Vendor: F5, NGINX Plus, NGINX Open Source
- Severity: MEDIUM (CVSS 4.0 6.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: K000152786, https://my.f5.com/manage/s/article/K000152786
- Published: 2025-08-13; updated: 2025-08-13
- Page: https://patchtonight.com/cve/CVE-2025-53859/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX Plus R35 | Not affected |
| NGINX Plus R34 | R34 P2 or later |
| NGINX Plus R33 | R33 P3 or later |
| NGINX Plus R32 | R32 P3 or later |
| NGINX Plus R31 | * or later |
| NGINX Plus R30 | * or later |
| NGINX Open Source 0.7 | 1.29.1 or later |

## The vendor's 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.

## Sources

- [F5 advisory](https://my.f5.com/manage/s/article/K000152786)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
