Every CVE Search/ Get API key

CVE-2021-4040

org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write

5.3 MediumFix available

A 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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

3.19%Up 2.2 points since Aug 25, 2022
90%50%10%1%

What each source reports

NVD Score used 5.3

A 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.

Record
CVE-2021-4040
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400, CWE-787
Updated
2026-11-02
CVE List No score

A 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.

Record
CVE-2021-4040
Weakness
CWE-400
Updated
2026-11-02
EUVDEUVD-2022-6556 No score

A 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.

Record
EUVD-2022-6556
Updated
2026-11-03
GitHub AdvisoriesGHSA-gf8c-j759-86mg 5.3

org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write

A 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.

Record
GHSA-gf8c-j759-86mg
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400, CWE-787
Updated
2026-11-02
OSV 5.3

A 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.

Record
CVE-2021-4040
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVGHSA-gf8c-j759-86mg 5.3

org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write

A 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.

Record
GHSA-gf8c-j759-86mg
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400, CWE-787
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.activemq:artemis-core-client
Maven
before 2.19.1
2.19.1
org.apache.activemq:artemis-core-client
Maven
before 2.19.1, plus listed versions
1.0.01.1.01.2.01.3.01.4.0
Show 33 moreShow less
1.5.01.5.11.5.21.5.31.5.41.5.51.5.62.0.02.1.02.10.02.10.12.11.02.12.02.13.02.14.02.15.02.16.02.17.02.18.02.19.02.2.02.3.02.4.02.5.02.6.02.6.12.6.22.6.32.6.42.7.02.8.02.8.12.9.0
2.19.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-4040 is a medium vulnerability (CVSS 5.3) in Apache Artemis, published August 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.19%, the 88th percentile. Fixed in org.apache.activemq:artemis-core-client 2.19.1.

References

Show 4 moreShow less
MoveEnter Open