CVE-2025-53859
NGINX ngx_mail_smtp_module vulnerability
Reported by f5 · Published August 13, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nginx | Alpine | 1.28.2-r0, 1.26.3-r4 |
| nginx-mod-devel | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-mod-mail | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-core | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-stable | Wolfi | 1.30.0-r0 |
| nginx-stable | Chainguard | 1.30.0-r0 |
| nginx | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-mod-http-xslt-filter | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-mod-http-image-filter | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-gateway | Bitnami | 1.29.1 |
| nginx-all-modules | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
| nginx-filesystem | Amazon Linux | 1:1.28.0-1.amzn2023.0.2 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| F5 | NGINX Plus | R35, R34, R33 |
| F5 | NGINX Open Source | 0.7 |
| alpine | nginx | 0, 0 |
| F5 | NGINX Plus | *, *, * |
| amazon:2023 | nginx-mod-devel | 0 |
| amazon:2023 | nginx-mod-mail | 0 |
| amazon:2023 | nginx-core | 0 |
| F5 | NGINX Open Source | 0.7 |
| wolfi | nginx-stable | 0 |
| chainguard | nginx-stable | 0 |
| amazon:2023 | nginx | 0 |
| amazon:2023 | nginx-mod-http-xslt-filter | 0 |
| amazon:2023 | nginx-mod-http-image-filter | 0 |
| amazon:2023 | nginx-all-modules | 0 |
| amazon:2023 | nginx-filesystem | 0 |
| amazon:2023 | nginx-mod-stream | 0 |
| amazon:2023 | nginx-mod-http-perl | 0 |
Timeline
- Aug 13, 2025 CVE Published
- Aug 14, 2025 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 2, 2026 Security Advisory (6 in total, the first dated here)
- Sep 1, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-53859
vulnetix vdb fixes CVE-2025-53859
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-53859/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- http://www.openwall.com/lists/oss-security/2025/08/13/5 url