CVE-2021-40110: Apache James IMAP vulnerable to a ReDoS
Vulnerability summary
CVE-2021-40110 is a high (CVSS 7.5) vulnerability in apache software foundation apache james. EPSS estimates a 3.31% chance of exploitation in the next 30 days, higher than 88.9% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 04-01-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
In Apache James, using Jazzer fuzzer, we identified that an IMAP user can craft IMAP LIST commands to orchestrate a Denial Of Service using a vulnerable Regular expression. This affected Apache James prior to 3.6.1 We recommend upgrading to Apache James 3.6.1 or higher , which enforce the use of RE2J regular expression engine to execute regex in linear time without back-tracking.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
3.31%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
Increase +0.35 pp
From 2.95% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- james< 3.6.1
Apache software foundation1 product
- apache james≥ Apache James, ≤ 3.6.0
Chainguard1 product
- keycloakAll versions (No fix recorded)
Org.apache.james1 product
- james-server≥ 3.1.0, < 3.6.1
Wolfi1 product
- keycloakAll versions (No fix recorded)
5 vendors · 5 products
References
3 links- www.openwall.com/lists/oss-security/2022/01/04/2X Refsource MISCAdvisoryWEBMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2022/01/04/2Mailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory