Live threats

All CVEs / Apache

CVE-2021-40111Apache James

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Jan 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for James.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.james:james-server < 3.6.1 3.6.1 —

Per OSV / GitHub Advisories (GHSA-fqgw-6qj5-8hmp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachejames< 3.6.1

Official sources

References

Links published by the sources. Open them with care.