Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2021-40111 — james-server

⚪ Unknown ✅ No Known Exploit CWE-835 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Infinite Loop in Apache James

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.

Weakness class

CVE-2021-40111 is classified as CWE-835: Infinite Loop. A loop condition can never become false for some inputs, hanging the process.

Affected software

CVE-2021-40111 is recorded against 1 package.

  • org.apache.james:james-server (fixed in 3.6.1)

Timeline and source

Published on 8 January 2022 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
www.openwall.com (Web)
www.openwall.com (Web)

Other advisories for this package

org.apache.james:james-server has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-835: Infinite Loop) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-835
Public Exploit ✅ No
Source OSV
Published 2022-01-08
Updated 2026-08-20
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
org.apache.james:james-server — 3.6.1

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2021-40111?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2021-40111 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVE
✓