CVE-2025-53859
NGINX vulnerability analysis and mitigation

Overview

CVE-2025-53859 affects the ngxmailsmtp_module in nginx versions 0.7.22 through 1.29.0. The vulnerability was discovered and disclosed on August 13, 2025, impacting the SMTP authentication process in the nginx mail module (Nginx Announce).

Technical details

The vulnerability is a buffer over-read issue in the ngxmailsmtp_module when processing specially crafted login/password combinations using the "none" authentication method. This could potentially lead to worker process memory disclosure to the authentication server (OSS Security).

Impact

The vulnerability could result in sensitive information leakage through HTTP requests to the authentication server. The issue requires specific preparations by an attacker against the target system to extract the leaked data (OSS Security).

Mitigation and workarounds

The issue has been fixed in nginx version 1.29.1. For older versions, two temporary workarounds are available: 1) disable the "none" parameter in the "smtp_auth" directive, or 2) remove the "Auth-Wait" header line in the authentication server response. A patch is also available at https://nginx.org/download/patch.2025.smtp.txt (OSS Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management