CVE-2025-53859
JSON

6.3medium

NGINX ngx_mail_smtp_module vulnerability

Severity
6.3medium CVSS:4.0 by f5
Exploit likelihood
0.45% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
f5
Also known as
BIT-NGINX-2025-53859BIT-NGINX-GATEWAY-2025-53859

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.

Affected

Product or packageVersionsReported by
F5 NGINX Plusfrom R34 before R34 P2, from R33 before R33 P3, from R32 before R32 P3, from R31 before *, from R30 before *
Not affected: R35
CVE List
F5 NGINX Open Sourcefrom 0.7 before 1.29.1CVE List
f5 nginx_plusr30, r31, r32, r33, r34NVD
f5 nginx_open_sourcefrom 0.7.22 before 1.29.1NVD
nginx (Bitnami)from 0.7.0 before 1.29.1Bitnami Vulnerability Database
nginx-gateway (Bitnami)from 0.7.0 before 1.29.1Bitnami Vulnerability Database

All scores

f53.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
f56.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

NGINX Open Source y NGINX Plus presentan una vulnerabilidad en el módulo ngx_mail_smtp_module que podría permitir que un atacante no autenticado sobrelea la memoria del proceso de autenticación SMTP de NGINX. Como resultado, el servidor podría filtrar bytes arbitrarios enviados en una solicitud al servidor de autenticación. Este problema ocurre durante el proceso de autenticación SMTP de NGINX y requiere que el atacante realice preparativos en el sistema objetivo para extraer los datos filtrados. El problema afecta a NGINX solo si (1) se compila con el módulo ngx_mail_smtp_module, (2) la directiva smtp_auth está configurada con el método "none" y (3) el servidor de autenticación devuelve el encabezado de respuesta "Auth-Wait". Nota: Las versiones de software que han alcanzado el fin del soporte técnico (EoTS) no se evalúan.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-53859 changed 2025-11-04CVE Terms of Use
NVDCVE-2025-53859 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NGINX-2025-53859 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NGINX-GATEWAY-2025-53859 changed 2026-09-08Apache-2.0