CVE-2025-7962
Java vulnerability analysis and mitigation

Overview

A vulnerability was discovered in Jakarta Mail 2.0.2 that allows SMTP Injection attacks through the manipulation of \r and \n UTF-8 characters to separate different messages. The vulnerability was assigned CVE-2025-7962 and was first published on July 21, 2025. The affected software includes Jakarta Mail version 2.0.2 and related packages in various Linux distributions including Debian and Ubuntu (NVD, Eclipse Issue).

Technical details

The vulnerability is classified as CWE-147 (Improper Neutralization of Input Terminators) and has received a CVSS 4.0 Base Score of 6.0 (Medium) with the vector string 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. The technical nature of the vulnerability involves the improper handling of UTF-8 characters (\r and \n) which can be exploited to perform SMTP injection attacks (Eclipse Issue, NVD).

Impact

The vulnerability allows an attacker to perform SMTP injection attacks, potentially leading to unauthorized message separation and manipulation of email content. The CVSS scoring indicates high impact on integrity (VI:H) with some impact on system integrity (SI:L), while maintaining normal availability and confidentiality (Eclipse Issue).

Mitigation and workarounds

As of the latest updates, no official fixes have been released for the affected systems. The vulnerability is currently under evaluation for Ubuntu 25.04 (plucky), 24.04 LTS (noble), and 22.04 LTS (jammy). Debian packages including jakarta-mail and javamail remain vulnerable across multiple releases (Ubuntu Security, Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management