Security mailing lists by PureSourceCode

CVE-2021-40111

MEDIUM 6.5CVSS 3.1

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.

Published
4 Jan 2022
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-835
Also known as
GHSA-fqgw-6qj5-8hmp
Sources
NVDJSONOSV GHSA-fqgw-6qj5-8hmpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache james
cpe:2.3:a:apache:james:*:*:*:*:*:*:*:*
< 3.6.1 3.6.1
OSV Maven org.apache.james:james-server < 3.6.1 3.6.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Jan 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.