CVEfocus › CVE database › CVE-2025-7962

CVE-2025-7962

CVSS 6.0 MediumEPSS 0.5% (higher than 39% of CVEs)Published 2025-07-21Updated 2026-06-23Assigner: eclipse

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.

CWE-147

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
3Under investigation
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jakarta-mailFix pendingUBUNTU-CVE-2025-7962
Ubuntu 26.04jakarta-mailUnder investigationUBUNTU-CVE-2025-7962
Ubuntu 25.10jakarta-mailWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-7962
Ubuntu 24.04jakarta-mailUnder investigationUBUNTU-CVE-2025-7962
Ubuntu 22.04jakarta-mailUnder investigationUBUNTU-CVE-2025-7962
Debian 14jakarta-mailFix pendingDEBIAN-CVE-2025-7962
Debian 14javamailFix pendingDEBIAN-CVE-2025-7962
Debian 13jakarta-mailFix pendingDEBIAN-CVE-2025-7962
Debian 13javamailFix pendingDEBIAN-CVE-2025-7962
Debian 12jakarta-mailFix pendingDEBIAN-CVE-2025-7962
Debian 12javamailFix pendingDEBIAN-CVE-2025-7962
Red Hat Enterprise Linux 9jmcNot affected
Maven librarycom.sun.mail:jakarta.mailFixed1.6.8GHSA-9342-92gg-6v29
Maven libraryorg.eclipse.angus:smtpFixed2.0.4GHSA-9342-92gg-6v29

What the vendor says

As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.