CVE-2021-4040

Summary

CVECVE-2021-4040
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-24 16:15:09 UTC
Updated2026-06-15 13:03:40 UTC
DescriptionA flaw was found in AMQ Broker. This issue can cause a partial interruption to the availability of AMQ Broker via an Out of memory (OOM) condition. This flaw allows an attacker to partially disrupt availability to the broker through a sustained attack of maliciously crafted messages. The highest threat from this vulnerability is system availability.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS: 0.024090000 probability, percentile 0.819370000 (date 2026-06-21)

Problem Types: CWE-400 | CWE-787 | CWE-400 CWE-400 - Uncontrolled Resource Consumption

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Artemis All All All All
Application Redhat Amq Broker All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na AMQ Broker affected Fixed in v2.19.1, v2.20.0 Not specified

References

ReferenceSourceLinkTags
[ARTEMIS-3593] OOM error on rogue message to Artemis Broker - ASF JIRA af854a3a-2127-422b-91ae-364da2661108 issues.apache.org Patch, Third Party Advisory
Red Hat Customer Portal - Access to 24x7 support and knowledge af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
ARTEMIS-3593 Defense against OME on parsing XID by clebertsuconic · Pull Request #3871 · apache/activemq-artemis · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
2028254 – (CVE-2021-4040) CVE-2021-4040 AMQ Broker: Malformed message can result in partial DoS (OOM) af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report