{"cve":"CVE-2021-4040","nvd":{"published":"2022-08-24T16:15:09.313","modified":"2026-06-17T04:18:56.357","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-787","CWE-400"],"references":["https://access.redhat.com/security/cve/CVE-2021-4040","https://bugzilla.redhat.com/show_bug.cgi?id=2028254","https://github.com/apache/activemq-artemis/pull/3871/commits","https://issues.apache.org/jira/browse/ARTEMIS-3593","https://access.redhat.com/security/cve/CVE-2021-4040"],"products":["apache:artemis","redhat:amq_broker"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2021-4040","score":0.03194,"percentile":0.88113,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gf8c-j759-86mg","url":"https://osv.dev/vulnerability/GHSA-gf8c-j759-86mg","summary":"org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write","modified":"2023-11-08T04:06:47.528704Z","packages":[{"ecosystem":"Maven","name":"org.apache.activemq:artemis-core-client","purl":"pkg:maven/org.apache.activemq/artemis-core-client","ranges":["<2.19.1"],"fixed":["2.19.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}