NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2023-51747: SMTP smuggling in Apache James

highCVSS 3.1 7.1GHSA-p5q9-86w4-2xr5

Apache James prior to versions 3.8.1 and 3.7.5 is vulnerable to SMTP smuggling. A lenient behaviour in line delimiter handling might create a difference of interpretation between the sender and the receiver which can be exploited by an attacker to forge an SMTP envelop, allowing for instance to bypass SPF checks. The patch implies enforcement of CRLF as a line delimiter as part of the DATA transaction.

Published Feb 27, 2024 · Updated Mar 15, 2026

Affected packages

org.apache.james:james-server

Ecosystem
Maven
Affected
< 3.7.5
Fixed in
3.7.5
Check
mvn dependency:tree -Dincludes=org.apache.james:james-server

org.apache.james:james-server

Ecosystem
Maven
Affected
= 3.8.0
Fixed in
3.8.1
Check
mvn dependency:tree -Dincludes=org.apache.james:james-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Apache James prior to versions 3.8.1 and 3.7.5 is vulnerable to SMTP smuggling.

A lenient behaviour in line delimiter handling might create a difference of interpretation between the sender and the receiver which can be exploited by an attacker to forge an SMTP envelop, allowing for instance to bypass SPF checks.

The patch implies enforcement of CRLF as a line delimiter as part of the DATA transaction.

We recommend James users to upgrade to non vulnerable versions.

Credited to oscerd.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries