# CVE-2021-4040

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-24 · Modified: 2024-08-03
- Aliases: GHSA-gf8c-j759-86mg
- Record: https://cvemate.com/vulnerability/CVE-2021-4040 · JSON: https://cvemate.com/vulnerability/CVE-2021-4040/json

## Description

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

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 3.379%, percentile 89.156%, 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 artemis: \< 2.19.1
- org.apache.activemq artemis-core-client (Maven): \< 2.19.1
- redhat amq\_broker: \< 7.10.0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2028254>
- <https://access.redhat.com/security/cve/CVE-2021-4040>
- <https://issues.apache.org/jira/browse/ARTEMIS-3593>
- <https://github.com/apache/activemq-artemis/pull/3871/commits>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4040>
- <https://github.com/apache/activemq-artemis/pull/3862>
- <https://github.com/apache/activemq-artemis/pull/3871>
- <https://github.com/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82>
- <https://github.com/apache/activemq-artemis>

---

Data as of 2026-12-05T03:28:46.169Z. 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
