Medium

Infinite Loop in Apache James

  • Disclosed: 08.01.2022
  • Updated: 11.10.2026 13:19

In Apache James, while fuzzing with Jazzer the IMAP parsing stack, we discover that crafted APPEND and STATUS IMAP command could be used to trigger infinite loops resulting in expensive CPU computations and OutOfMemory exceptions. This can be used for a Denial Of Service attack. The IMAP user needs to be authenticated to exploit this vulnerability. This affected Apache James prior to version 3.6.1. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.james:james-server < 3.6.1 3.6.1

References

CVSS score -
Weakness (CWE)
CWE-835
Platform
Java / Kotlin (Maven)
Package
org.apache.james:james-server
Disclosed
08.01.2022
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-fqgw-6qj5-8hmp - 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. 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. Infinite Loop in Apache James this entry
    Medium CVE-2021-40111 < 3.6.1 3.6.1
  7. 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.