# CVE-2025-14874: Nodemailer: nodemailer: denial of service via crafted email address header

> Attackers can cause a denial of service in applications using Nodemailer by sending crafted email headers that trigger infinite recursion.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 18 Dec 2025
- **Updated:** 27 Oct 2026
- **Also known as:** CLEANSTART-2026-IS37200, DEBIAN-CVE-2025-14874, ECHO-755a-4a7b-f66f, GHSA-rcmh-qjqh-p98v, MINI-3vgm-4478-cx2f, MINI-5pvq-gmqx-4cp4, MINI-6f3f-wgr6-w98w, MINI-7792-xqqc-wpjh, MINI-9rcp-2hvc-frrf, MINI-c2qh-v96p-w3vx, MINI-h43x-7xcp-j94p, MINI-qqrf-2q99-4xrv, MINI-vpv3-7v6h-w22j, ROOT-APP-NPM-CVE-2025-14874, UBUNTU-CVE-2025-14874

## What is CVE-2025-14874?

CVE-2025-14874 is a high-severity denial of service vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2, published on 18 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A flaw was found in Nodemailer. This vulnerability allows a denial of service (DoS) via a crafted email address header that triggers infinite recursion in the address parser.

Weakness: CWE-703 (Improper Check or Handling of Exceptional Conditions)

## Which versions are affected by CVE-2025-14874?

4 open source packages ship an affected version, including org.webjars.npm:nodemailer and nodemailer. It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.webjars.npm:nodemailer` | Maven | From 3.0.0 to 6.10.1 | None |
| `org.webjars.npm:nodemailer` | Maven | From 3.0.0 to 6.10.1 | None |
| `nodemailer` | npm | From 3.0.0 | 7.0.11 |
| `nodemailer` | npm | From 3.0.0 | 7.0.11 |

Products: Nodemailer Nodemailer, Redhat Advanced Cluster Management for Kubernetes, Redhat Ceph Storage, Redhat Developer Hub.

## How do I fix CVE-2025-14874?

Upgrade to a fixed version.

## Is CVE-2025-14874 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14874 exists.

## Other vulnerabilities in Red Hat Advanced Cluster Management for Kubernetes 2

- [CVE-2020-7769](https://insights.sbomify.com/CVE-2020-7769/): Command Injection (high 8.6)
- [CVE-2021-23400](https://insights.sbomify.com/CVE-2021-23400/): HTTP Header Injection (medium 6.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-14874 and fix it if it is affected.

What it is: CVE-2025-14874 is a high-severity denial of service vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2, published on 18 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14874 exists.

Affected packages and fixed versions:
- org.webjars.npm:nodemailer (Maven): affected from 3.0.0 up to 6.10.1; no fix listed
- org.webjars.npm:nodemailer (Maven): affected from 3.0.0 up to 6.10.1; no fix listed
- nodemailer (npm): affected from 3.0.0; fixed in 7.0.11
- nodemailer (npm): affected from 3.0.0; fixed in 7.0.11

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-14874/ (Markdown: https://insights.sbomify.com/CVE-2025-14874/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-14874
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-14874
- OSV: https://osv.dev/vulnerability/CVE-2025-14874

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-14874/
Summaries are generated and may contain mistakes; the official description above is the record.
