CVE-2025-7962

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductEclipse Jakarta Mail
PublishedJul 21, 2025
First seenJul 21, 2025
Weakness typeCWE-147CWE-147

How to fix

Update
  • eclipse jakarta_mail1.6.8, 2.0.2 or later
  • eclipse angus_mail2.0.4 or later
  • org.eclipse.angus:smtp2.0.4 or later
  • com.sun.mail:jakarta.mail1.6.8, 2.0.2 or later

Affected products

ProductAffected versionsFixed in
eclipse jakarta_mailv < 1.6.8, 2.0.0 ≤ v < 2.0.21.6.8, 2.0.2
eclipse angus_mailv < 2.0.42.0.4
org.eclipse.angus:smtpMavenv < 2.0.42.0.4
com.sun.mail:jakarta.mailMavenv < 1.6.8, 2.0.0 ≤ v < 2.0.21.6.8, 2.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.