# CVE-2022-34917: Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.60%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-09-20T08:35:07.000Z
- Modified: 2026-09-08T08:48:23.758Z
- Also known as: GHSA-c9h3-c6qj-hh7q, BIT-KAFKA-2022-34917
- Weaknesses: CWE-400, CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

A security vulnerability has been identified in Apache Kafka. It affects all releases since 2.8.0. The vulnerability allows malicious unauthenticated clients to allocate large amounts of memory on brokers. This can lead to brokers hitting OutOfMemoryException and causing denial of service. Example scenarios: - Kafka cluster without authentication: Any clients able to establish a network connection to a broker can trigger the issue. - Kafka cluster with SASL authentication: Any clients able to establish a network connection to a broker, without the need for valid SASL credentials, can trigger the issue. - Kafka cluster with TLS authentication: Only clients able to successfully authenticate via TLS can trigger the issue. We advise the users to upgrade the Kafka installations to one of the 3.2.3, 3.1.2, 3.0.2, 2.8.2 versions.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Kafka: Apache Kafka 2.8.0 2.8.0 ; Apache Kafka 2.8.1 2.8.1; Apache Kafka 3.0.0 3.0.0; Apache Kafka 3.0.1 3.0.1; Apache Kafka 3.1.0 3.1.0; Apache Kafka 3.1.1 3.1.1; Apache Kafka 3.2.0 3.2.0; Apache Kafka 3.2.1 3.2.1
- org.apache.kafka:kafka (Maven): from 2.8.0 before 2.8.2; from 3.0.0 before 3.0.2; from 3.1.0 before 3.1.2; from 3.2.0 before 3.2.3
- apache kafka: from 2.8.0 before 2.8.2; from 3.0.0 before 3.0.2; from 3.1.0 before 3.1.2; from 3.2.0 before 3.2.3
- kafka (Bitnami): from 2.8.0 before 2.8.2; from 3.0.0 before 3.0.2; from 3.1.0 before 3.1.2; from 3.2.0 before 3.2.3

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://kafka.apache.org/cve-list> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34917> (advisory, web)
- <https://github.com/apache/kafka/commit/14951a83e3fdead212156e5532359500d72f68bc> (web)
- <https://github.com/apache/kafka/commit/2bfa24b2bd416e7b8c4a0c566b984c43904fdecb> (web)
- <https://github.com/apache/kafka/commit/aaceb6b79bfcb1d32874ccdbc8f3138d1c1c00fb> (web)
- <https://github.com/apache/kafka/commit/c1295662768e64b4467e27c3d5158f95f2307657> (web)
- <https://issues.apache.org/jira/browse/KAFKA-14063> (web)
- <https://kafka.apache.org/cve-list#CVE-2022-34917> (web)

## Sources

- CVE List: [CVE-2022-34917](https://www.cve.org/CVERecord?id=CVE-2022-34917), CVE Terms of Use, modified 2025-05-29
- GitHub Advisory Database: [GHSA-c9h3-c6qj-hh7q](https://github.com/advisories/GHSA-c9h3-c6qj-hh7q), CC-BY-4.0, modified 2024-05-08
- NVD: [CVE-2022-34917](https://nvd.nist.gov/vuln/detail/CVE-2022-34917), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KAFKA-2022-34917](https://osv.dev/vulnerability/BIT-KAFKA-2022-34917), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-34917 · Whole record: https://cve.day/CVE-2022-34917.json · Rebuilt by cve.day 2026-11-25T22:58:15.131Z
