High

SMTP smuggling in Apache James

  • Disclosed: 27.02.2024
  • Updated: 11.10.2026 12:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.james:james-server < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1

References

CVSS score 7.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness (CWE)
CWE-20, CWE-290
Platform
Java / Kotlin (Maven)
Package
org.apache.james:james-server
Disclosed
27.02.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-p5q9-86w4-2xr5 - CC BY 4.0

Vulnerability history: org.apache.james:james-server

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
01.2022 02.2024
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 4
  • Medium 5

Disclosures per year

  1. 2022: 8
  2. 2023: 1
  3. 2024: 2
  4. 2025: 0
  5. 2026: 0
Severity:
  1. SMTP smuggling in Apache James this entry
    High · 7.1 CVE-2023-51747 < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1
  2. Critical · 9.8 CVE-2023-51518 < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1
  3. High · 7.5 CVE-2022-28220 < 3.6.3, >= 3.7.0, < 3.7.1 3.6.3, 3.7.1
  4. High · 8.1 CVE-2015-7611 < 2.3.2.1 2.3.2.1
  5. Critical · 9.1 CVE-2021-40525 < 3.6.1 3.6.1
  6. High CVE-2021-40110 >= 3.1.0, < 3.6.1 3.6.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.