# CVE-2021-40110: Apache James IMAP vulnerable to a ReDoS

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-01-04 · Modified: 2024-08-04
- Aliases: CGA-chj3-9ppx-92mx, CGA-p4w8-95xg-55c7, GHSA-r58x-wjg8-63m9
- Record: https://cvemate.com/vulnerability/CVE-2021-40110 · JSON: https://cvemate.com/vulnerability/CVE-2021-40110/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.307%, percentile 88.933%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache james: ≥ Apache James, ≤ 3.6.0
- apache james: \< 3.6.1
- chainguard keycloak (Chainguard): All versions (No fix recorded)
- wolfi keycloak (Wolfi): All versions (No fix recorded)
- org.apache.james james-server (Maven): ≥ 3.1.0, \< 3.6.1

## References

- <https://www.openwall.com/lists/oss-security/2022/01/04/2>
- <http://www.openwall.com/lists/oss-security/2022/01/04/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40110>

---

Data as of 2026-12-05T05:32:04.055Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
