Command Injection in Jakarta Mail - CVE-2025-7962

 

Command Injection in Jakarta Mail - CVE-2025-7962

Published: August 21, 2025


Vulnerability identifier: #VU114346
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-7962
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SMTP commands on the system.

The vulnerability exists due to insufficient input validation when handling CR-LF characters in UTF-8 encoding. A remote attacker can pass specially crafted input to the application and execute arbitrary SMTP commands on the server.


Affected software

Jakarta Mail
IBM App Connect Enterprise
IBM CICS TX Advanced
IBM CICS TX Standard
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Basesystem Module
SUSE Package Hub 15
Development Tools Module
openSUSE Leap
openEuler
IBM Maximo Asset Management
WebSphere Service Registry and Repository
Jazz for Service Management
IBM SPSS Analytic Server
IBM Security Guardium Key Lifecycle Manager (GKLM)
Jira Service Management Data Center
IBM Sterling Partner Engagement Manager
IBM Tivoli Monitoring
IBM Tivoli Netcool Impact
IBM Cloud Application Performance Management (APM)
IBM TXSeries for Multiplatforms
IBM SPSS Collaboration and Deployment Services
WebSphere Remote Server
IBM Maximo Application Suite
IBM Common Licensing
IBM Rational ClearQuest
IBM Rational ClearCase
Jira Software Data Center
IBM Security Verify Governance
Oracle Enterprise Data Quality
IBM Business Automation Workflow
IBM Maximo Application Suite - Manage Component
IBM Copy Services Manager
Enterprise Application Service for Java
Operations Analytics - Log Analysis
PowerVM NovaLink
Tivoli Network Manager IP Edition
IBM Tivoli Netcool Configuration Manager
Engineering Test Management
Tivoli Composite Application Manager for Application Diagnostics
Maximo Application Suite - Predict Component
Maximo Application Suite - Monitor Component
IBM OpenPages with Watson
Rational Performance Tester
IBM Security Verify Directory
Integration Bus for z/OS
DevOps Test Performance
Verify Identity Access Digital Credentials
DevOps Code ClearCase
ApplinX
Oracle Retail Xstore Point of Service
Storage Protect Client
Storage Protect for Virtual Environments: Data Protection for VMware
Storage Protect for Space Management
Storage Protect for Virtual Environments: Data Protection for Hyper-V
Jakarta Mail API
Apache Ant
Apache OpenMeetings
IBM WebSphere Application Server
Oracle WebLogic Server
IBM WebSphere Application Server Liberty
IBM Security Verify Access
IBM Cognos Command Center
Siebel CRM End User
Oracle Database Server
Oracle Communications Cloud Native Core Console
Oracle Retail Xstore Office
Keycloak
plexus-build-api0
ant-contrib
opentest4j
plexus-i18n
plexus-build-api
zstd-jni
plexus-languages
plexus-interactivity-api
javamail
javamail-javadoc
jakarta-mail
ant-junit
ant-apache-resolver
ant-jakartamail
ant-scripts
ant-manual
ant-apache-regexp
ant-commons-logging
ant
ant-apache-bsf
ant-jdepend
ant-antlr
ant-apache-oro
ant-apache-bcel
ant-commons-net
ant-jsch
ant-apache-xalan2
ant-apache-log4j
ant-testutil
ant-junit5
ant-javamail
ant-jmf
ant-xz
ant-swing
byte-buddy
byte-buddy-agent
byte-buddy-maven-plugin
byte-buddy-javadoc
plexus-interpolation
plexus-sec-dispatcher
qdox
plexus-cipher
maven-doxia-sitetools
maven-doxia-module-xhtml5
maven-doxia-module-apt
maven-doxia-core
maven-doxia-sink-api
maven-doxia-module-xdoc
maven-doxia-module-fml
jakarta-activation
plexus-containers-component-annotations
plexus-component-metadata
json-simple
plexus-velocity
bsf
antlr-java
antlr-manual
antlr-devel
antlr
univocity-parsers
jdepend
plexus-classworlds
plexus-compiler
plexus-xml
apache-commons-digester3
velocity-tools-generic
maven-surefire-plugin
maven-surefire
maven-surefire-provider-testng
maven-surefire-provider-junit
plexus-io
assertj-core
javaparser
javassist
plexus-utils
picocli
plexus-archiver
junit5-minimal
junit5
objectweb-asm
Operational Decision Manager

How to mitigate CVE-2025-7962

Install updates from vendor's website.

Jakarta Mail - addressed in versions 1.6.8, 2.0.2
Jakarta Mail API - update to 2.1.3-3
Apache Ant - update to 1.10.18
PowerVM NovaLink - addressed in versions 2.1.1-260119, 2.2.1.1-260119, 2.3.2-260116
Apache OpenMeetings - update to 8.1.0
Tivoli Network Manager IP Edition - update to 4.2.0.23
Jira Service Management Data Center - addressed in versions 5.12.27, 10.3.10, 11.0.0, 11.0.1
IBM Sterling Partner Engagement Manager - addressed in versions 6.2.3.6, 6.2.4.4
IBM Tivoli Monitoring - update to 6.3.0.7 Plus Service Pack 5
IBM Tivoli Netcool Configuration Manager - update to 6.4.2.23
IBM Tivoli Netcool Impact - update to 7.1.0.38
IBM Cloud Application Performance Management (APM) - update to 8.1.4.0.19
IBM WebSphere Application Server - addressed in versions 8.5.5.29, 9.0.5.27
Maximo Application Suite - Predict Component - addressed in versions 8.8.13, 8.9.15, 9.0.12, 9.1.5
Maximo Application Suite - Monitor Component - addressed in versions 8.10.27, 8.11.25, 9.0.17, 9.1.7
Jira Software Data Center - addressed in versions 9.12.27, 10.3.10, 11.0.1
IBM Security Verify Directory - update to 10.0.4.3
IBM Security Verify Governance - update to 10.0.2.0.7
IBM Cognos Command Center - update to 10.2.5 FP1 IF2
DevOps Test Performance - update to 11.0.8
IBM App Connect Enterprise - addressed in versions 12.0.12.21, 13.0.6.0
IBM WebSphere Application Server Liberty - update to 25.0.0.12
Oracle Database Server - addressed in versions 19.31, 23.26.2
Keycloak - addressed in versions 26.3.3, 26.4.0
plexus-build-api0 - update to 0.0.8-150200.5.8.7
ant-contrib - update to 1.0b3-150200.11.17.1
opentest4j - update to 1.2.0-150200.3.6.4
plexus-i18n - update to 1.2.0-150200.3.10.2
plexus-build-api - update to 1.2.0-150200.3.10.2
zstd-jni - update to 1.5.7.16-150200.5.7.2
plexus-languages - update to 1.6.0-150200.3.8.2
plexus-interactivity-api - update to 1.6.0-150200.3.10.2
javamail - update to 1.6.2-150200.3.7.1
javamail-javadoc - update to 1.6.2-150200.3.7.1
jakarta-mail - update to 1.6.7-4
ant-junit - update to 1.10.18-150200.4.31.3
ant-apache-resolver - update to 1.10.18-150200.4.31.3
ant-jakartamail - update to 1.10.18-150200.4.31.3
ant-scripts - update to 1.10.18-150200.4.31.3
ant-manual - update to 1.10.18-150200.4.31.3
ant-apache-regexp - update to 1.10.18-150200.4.31.3
ant-commons-logging - update to 1.10.18-150200.4.31.3
ant - update to 1.10.18-150200.4.31.3
ant-apache-bsf - update to 1.10.18-150200.4.31.3
ant-jdepend - update to 1.10.18-150200.4.31.3
ant-antlr - update to 1.10.18-150200.4.31.3
ant-apache-oro - update to 1.10.18-150200.4.31.3
ant-apache-bcel - update to 1.10.18-150200.4.31.3
ant-commons-net - update to 1.10.18-150200.4.31.3
ant-jsch - update to 1.10.18-150200.4.31.3
ant-apache-xalan2 - update to 1.10.18-150200.4.31.3
ant-apache-log4j - update to 1.10.18-150200.4.31.3
ant-testutil - update to 1.10.18-150200.4.31.3
ant-junit5 - update to 1.10.18-150200.4.31.3
ant-javamail - update to 1.10.18-150200.4.31.3
ant-jmf - update to 1.10.18-150200.4.31.3
ant-xz - update to 1.10.18-150200.4.31.3
ant-swing - update to 1.10.18-150200.4.31.3
byte-buddy - update to 1.18.8-150200.5.13.2
byte-buddy-agent - update to 1.18.8-150200.5.13.2
byte-buddy-maven-plugin - update to 1.18.8-150200.5.13.2
byte-buddy-javadoc - update to 1.18.8-150200.5.13.2
plexus-interpolation - update to 1.30.0-150200.3.12.4
plexus-sec-dispatcher - update to 2.0-150200.3.10.2
qdox - update to 2.0.1-150200.3.6.2
plexus-cipher - update to 2.1.0-150200.3.10.2
maven-doxia-sitetools - update to 2.1.0-150200.3.23.17
maven-doxia-module-xhtml5 - update to 2.1.0-150200.4.21.15
maven-doxia-module-apt - update to 2.1.0-150200.4.21.15
maven-doxia-core - update to 2.1.0-150200.4.21.15
maven-doxia-sink-api - update to 2.1.0-150200.4.21.15
maven-doxia-module-xdoc - update to 2.1.0-150200.4.21.15
maven-doxia-module-fml - update to 2.1.0-150200.4.21.15
jakarta-activation - update to 2.1.0-150200.5.7.1
jakarta-mail - update to 2.1.0-150200.5.7.2
plexus-containers-component-annotations - update to 2.2.0-150200.3.12.2
plexus-component-metadata - update to 2.2.0-150200.3.12.2
json-simple - update to 2.3.1-150200.5.3.5
plexus-velocity - update to 2.4.0-150200.3.13.2
bsf - update to 2.4.0-150200.13.8.2
antlr-java - update to 2.7.7-150200.18.10.2
antlr-manual - update to 2.7.7-150200.18.10.2
antlr-devel - update to 2.7.7-150200.18.10.2
antlr - update to 2.7.7-150200.18.10.2
univocity-parsers - update to 2.9.1-150200.3.9.4
jdepend - update to 2.10-150200.11.6.2
plexus-classworlds - update to 2.12.1-150200.3.8.2
plexus-compiler - update to 2.17.1-150200.3.12.2
plexus-xml - update to 3.1.0-150200.5.13.2
apache-commons-digester3 - update to 3.2-150200.5.3.5
velocity-tools-generic - update to 3.2-150200.5.3.10
maven-surefire-plugin - update to 3.5.6-150200.3.9.23.3
maven-surefire - update to 3.5.6-150200.3.9.23.28
maven-surefire-provider-testng - update to 3.5.6-150200.3.9.23.28
maven-surefire-provider-junit - update to 3.5.6-150200.3.9.23.28
plexus-io - update to 3.8.0-150200.3.10.2
assertj-core - update to 3.27.7-150200.5.11.8
javaparser - update to 3.28.2-150200.3.10.2
javassist - update to 3.29.2-150200.3.12.2
plexus-utils - update to 4.1.0-150200.3.17.2
picocli - update to 4.7.6-150200.3.19.2
plexus-archiver - update to 4.14.0-150200.3.13.2
junit5-minimal - update to 5.14.4-150200.3.15.10
junit5 - update to 5.14.4-150200.3.15.15
objectweb-asm - update to 9.10.1-150200.3.20.3
Storage Protect Client - update to 8.2.1
Storage Protect for Virtual Environments: Data Protection for VMware - update to 8.2.1
Storage Protect for Space Management - update to 8.2.1
Storage Protect for Virtual Environments: Data Protection for Hyper-V - update to 8.2.1
IBM Maximo Application Suite - Manage Component - addressed in versions 8.6.34, 8.7.28, 9.0.21, 9.1.8
Operational Decision Manager - addressed in versions 8.11.0.1 Interim fix 49, 8.11.1 Interim fix 47, 8.12.0.1 Interim fix 31, 9.0.0.1 Interim fix 15, 9.5.0.0 Interim fix 7
IBM CICS TX Advanced - addressed in versions 10.1.0.0 ifix44, 11.1.0.0 ifix36
IBM CICS TX Standard - update to 11.1.0.0 ifix37

External References

Related Security Bulletins