Skip to main content
EPSS 0.4%top 67%

NGINX ngx_mail_smtp_module vulnerability (CVE-2025-53859)

0
Medium
Published: 08/18/2025 (08/18/2025, 08:07:31 UTC)
Source: GCVE Database
Product: nginx

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 software

Affected versions
Red HatRed Hat Hardened Imagesaarch64nginx-main@aarch64>=0.7.0 <1.29.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/16/2026, 17:36:40 UTC

Technical Analysis

CVE-2025-53859 is a memory access flaw in the nginx ngx_mail_smtp_module affecting Red Hat Hardened Images. It allows an unauthenticated attacker to perform an out-of-bounds read during the SMTP authentication process, leaking arbitrary memory bytes sent in a request to the authentication server. This vulnerability is classified under CWE-125 (Out-of-bounds Read) and can expose sensitive information such as cryptographic keys or memory addresses, which could aid further attacks. The issue occurs specifically during SMTP authentication and requires attacker preparation to exploit. Red Hat has published an advisory (RHSA-2026:8346) describing the vulnerability and its impact but has not released a patch or effective mitigation. The CVSS v3 base score assigned by Red Hat is 3.7, reflecting low confidentiality impact and high attack complexity.

Potential Impact

The vulnerability allows an attacker to read memory beyond intended bounds during SMTP authentication, potentially exposing sensitive information such as cryptographic keys or memory addresses. This could facilitate bypassing protection mechanisms like ASLR and enable further exploitation. The flaw may also cause denial of service via crashes if memory is improperly accessed. However, the confidentiality impact is rated low, and no integrity or availability impacts are confirmed beyond potential crashes. Exploitation requires network access and high attack complexity with no privileges or user interaction needed.

Mitigation Recommendations

Currently, no mitigation is available or meets Red Hat's criteria for ease of use, applicability, or stability. Users should monitor Red Hat advisories for updates regarding patches or mitigations. Red Hat recommends upgrading to fixed versions once available. Customers with a Technical Account Manager (TAM) can consult directly for guidance. Until a fix is released, no effective workaround is provided by Red Hat.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:8346
Cve Count
8
Additional Cves
["CVE-2026-1642","CVE-2026-27651","CVE-2026-27654","CVE-2026-27784","CVE-2026-28753","CVE-2026-28755","CVE-2026-32647"]

Threat ID: 6a4049ce27e9c7971982a886

Added to database: 06/27/2026, 22:08:14 UTC

Last enriched: 08/16/2026, 17:36:40 UTC

Last updated: 09/12/2026, 22:01:29 UTC

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses