CVE-2025-53859: NGINX ngx_mail_smtp_module vulnerability

Published Aug 13, 2025
·
Updated

NGINX Open Source and NGINX Plus have a vulnerability in the ngxmailsmtpmodule 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 ngxmailsmtpmodule, (2) the smtpauth directive is configured with method "none," and (3) the authentication server returns the "Auth-Wait" response header.

Affected Software

15 affected componentsFixes available
F5 NGINX Plus=r30
F5 NGINX Plus=r31
F5 NGINX Plus=r32
F5 NGINX Plus=r32-p1
F5 NGINX Plus=r32-p2
F5 NGINX Plus=r33
F5 NGINX Plus=r33-p1
F5 NGINX Plus=r33-p2
F5 NGINX Plus=r34
F5 NGINX Plus=r34-p1
F5 NGINX Open Source>=0.7.22<1.29.1
F5 NGINX Plus=30
35342333323
F5 NGINX Open Source>=0.7.22<=1.29.0
1.29.1
debian/nginx
1.22.1-9+deb12u91.22.1-9+deb12u101.26.3-3+deb13u71.26.3-3+deb13u101.30.6-3
IBM API Connect<=V10.0.8.0 - V10.0.8.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 35Fixed in 34Fixed in 2Fixed in 33Fixed in 3Fixed in 32Fixed in 3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.29.1
  3. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.22.1-9+deb12u9Fixed in 1.22.1-9+deb12u10Fixed in 1.26.3-3+deb13u7Fixed in 1.26.3-3+deb13u10Fixed in 1.30.6-3

Event History

Aug 13, 2025
Advisory Published
via F5·12:29 PM
Data Sourced
via F5·12:29 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·03:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 18, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-53859?

CVE-2025-53859 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2025-53859?

To fix CVE-2025-53859, upgrade NGINX Open Source to version 1.29.1 or later, or upgrade NGINX Plus to version 30 or later.

3

Who is affected by CVE-2025-53859?

CVE-2025-53859 affects both NGINX Open Source versions from 0.7.22 to 1.29.0 and NGINX Plus version 30.

4

What does CVE-2025-53859 exploit?

CVE-2025-53859 exploits the ngx_mail_smtp_module, allowing an attacker to over-read memory during the authentication process.

5

What are the potential impacts of CVE-2025-53859?

The potential impacts of CVE-2025-53859 include leaking arbitrary bytes from the requests sent to the authentication server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203