Skip to main content
CVE-2025-7962VulnerabilityPublished Updated

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

Affects jakarta-mailSource GCVE Database

0
Authoritative record:CVE-2025-7962· Medium 6.0

Not known to be exploited · CVSS 6.0 Medium.

Data as of 28 Oct 2026, 22:28 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jakarta-mailpkg:deb/ubuntu/jakarta-mail?arch=source&distro=stonkingOther threatsAffected
  • =2.0.0-2build1
Fixed in–
Ubuntu 26.04 LTSjakarta-mailpkg:deb/ubuntu/jakarta-mail?arch=source&distro=resoluteOther threatsAffected
  • =2.0.0-2
  • =2.0.0-2build1
Fixed in–
Ubuntu 25.10jakarta-mailpkg:deb/ubuntu/jakarta-mail?arch=source&distro=questingOther threatsAffected
  • =2.0.0-2
Fixed in–
Ubuntu 24.04 LTSjakarta-mailpkg:deb/ubuntu/jakarta-mail?arch=source&distro=nobleOther threatsAffected
  • =2.0.0-2
Fixed in–
Ubuntu 22.04 LTSjakarta-mailpkg:deb/ubuntu/jakarta-mail?arch=source&distro=jammyOther threatsAffected
  • =2.0.0-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…