Home / Apache Software Foundation / Apache Kafka / CVE-2022-34917
CVE-2022-34917: is it exploited, and which versions of Apache Software Foundation Apache Kafka are affected and fixed?
CVE-2022-34917 is a memory Allocation with Excessive Size Value vulnerability in Apache Software Foundation Apache Kafka. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.apache.kafka:kafka from 2.8.0 before 2.8.2, org.apache.kafka:kafka from 3.0.0 before 3.0.2, org.apache.kafka:kafka from 3.1.0 before 3.1.2 and 1 more (GitHub advisory GHSA-c9h3-c6qj-hh7q). Fixed in 2.8.2, 3.0.2, 3.1.2 and 3.2.3 (GitHub advisory GHSA-c9h3-c6qj-hh7q). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-34917?
Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers
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.
From the CVE record by apache, last updated May 29, 2025, 13:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 |
As the CVE record by apache states it, last updated May 29, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.kafka:kafka | >= 2.8.0, < 2.8.2 | 2.8.2 | GHSA-c9h3-c6qj-hh7q |
| Maven | org.apache.kafka:kafka | >= 3.0.0, < 3.0.2 | 3.0.2 | GHSA-c9h3-c6qj-hh7q |
| Maven | org.apache.kafka:kafka | >= 3.1.0, < 3.1.2 | 3.1.2 | GHSA-c9h3-c6qj-hh7q |
| Maven | org.apache.kafka:kafka | >= 3.2.0, < 3.2.3 | 3.2.3 | GHSA-c9h3-c6qj-hh7q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 8, 2024. Summary: Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | kafka | from 2.8.0 before 2.8.2 | application |
| apache | kafka | from 3.0.0 before 3.0.2 | application |
| apache | kafka | from 3.1.0 before 3.1.2 | application |
| apache | kafka | from 3.2.0 before 3.2.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:51 UTC.
How severe is CVE-2022-34917?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-34917 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 29, 2025)
- EPSS
- 1.60% probability of exploitation activity in the next 30 days, percentile 76.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-789 Memory Allocation with Excessive Size Value
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://kafka.apache.org/cve-list x_refsource_MISC
Who found and reported it?
- Apache Kafka would like to thank Mickael Maison, Tom Bentley and Daniel Collins for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 4, 2022
- Published
- September 20, 2022, 08:35 UTC
- CVE record updated
- May 29, 2025, 13:39 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:51 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Kafka?
- Oct 28, 2026CVE-2026-114349 Apache Software Foundation Apache Kafka: memory Allocation with Excessive Size Value
- Oct 28, 2026CVE-2026-112375 Apache Software Foundation Apache Kafka: missing authorization
- Oct 28, 2026CVE-2026-116593 Apache Software Foundation Apache Kafka: information disclosure
- Oct 28, 2026CVE-2026-115644 Apache Software Foundation Apache Kafka: authentication bypass through another path
- Oct 28, 2026CVE-2026-111551 Apache Software Foundation Apache Kafka: memory Allocation with Excessive Size Value
- Oct 28, 2026CVE-2026-111496 Apache Software Foundation Apache Kafka: integer overflow
- Oct 28, 2026CVE-2026-111115 Apache Software Foundation Apache Kafka: denial of service (resources allocated without limits)
- Oct 28, 2026CVE-2026-111108 Apache Software Foundation Apache Kafka: denial of service (resources allocated without limits)
Questions about CVE-2022-34917
Is CVE-2022-34917 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Kafka are affected by CVE-2022-34917?
org.apache.kafka:kafka from 2.8.0 before 2.8.2, org.apache.kafka:kafka from 3.0.0 before 3.0.2, org.apache.kafka:kafka from 3.1.0 before 3.1.2 and org.apache.kafka:kafka from 3.2.0 before 3.2.3, per the GitHub advisory GHSA-c9h3-c6qj-hh7q. The tables above give every range the sources list.
Which version fixes CVE-2022-34917?
2.8.2, 3.0.2, 3.1.2 and 3.2.3, per the GitHub advisory GHSA-c9h3-c6qj-hh7q. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-34917?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-34917?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.