{"id":"CVE-2026-111108","aliases":["BIT-kafka-2026-111108","UBUNTU-CVE-2026-111108"],"summary":"Apache Kafka: Broker OutOfMemoryError via array allocation amplification in code-generated protocol readers","published_at":"2026-10-28T16:38:08.524Z","modified_at":"2026-11-18T17:44:55Z","products":[{"slug":"kafka","name":"Apache Kafka","category":"web-data"}],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005919999908655882,"percentile":0.49039000272750854,"date":"2026-11-18T00:00:00Z"},"priority":11.1,"details":"Apache Kafka's code-generated protocol readers pre-size an array's collection from the element count declared by the sender. That count is checked only against the bytes remaining in the request buffer, which assumes about one byte per element; because most elements need several bytes, a request can declare far more elements than the buffer holds and still pass. For a keyed array the reader then allocates an ImplicitLinkedHashCollection of capacity (2 * count +1), so a request of a few tens of megabytes can force a heap allocation several times larger before any element is read. The pattern is emitted into every generated reader, so it affects all Kafka API types with an array field. \n\n\nImpact:\n\nRequest parsing happens before any authorization check. On a listener that does not require authentication (for example PLAINTEXT), an unauthenticated attacker can send a few concurrent requests that each declare a very large=\n\narray length and allocate many times their wire size in broker heap, crashing the broker with an OutOfMemoryError. The reporter demonstrated three concurrent ~90 MB ProduceRequest (v3) connections exhausting a 1 GB heap (~8x amplification). On listeners that require authentication, the attacker needs valid credentials but no specific ACL, since parsing precedes authorization..\n\n\nMitigation:\n\nUpgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure.\n\n\nResolution:\n\nFrom Apache Kafka 4.2.2, 4.3.2, and 4.4.0: generated readers cap the initial array pre-allocation at MessageUtil.MAX_PREALLOCATED_ARRAY_CAPACITY (1000) and grow it on demand, and reject a declared array length above MessageUtil.MAX_ARRAY_LENGTH (1,000,000).","affected_stack":[{"ecosystem":"CVE","package":"Apache Software Foundation/Apache Kafka","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"last_affected":"4.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"last_affected":"4.3.1"}]}],"provider":"cvelistv5","source":"CVE-2026-111108","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"kafka","purl":"pkg:bitnami/kafka","ranges":[{"type":"SEMVER","events":[{"introduced":"3.3.0"},{"fixed":"4.2.2"},{"introduced":"4.3.0"},{"fixed":"4.3.2"}]}],"fixed":["4.2.2","4.3.2"],"provider":"osv","source":"BIT-kafka-2026-111108","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kafka","purl":"pkg:deb/ubuntu/kafka?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0u2-0ubuntu3.1","2.2.0u2-0ubuntu3.2","2.2.2u1-0ubuntu1+esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-111108","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"not_affected","packages":["openshift-serverless-1/kn-ekb-dispatcher-rhel9","openshift-serverless-1/kn-ekb-receiver-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4 for Quarkus 3","cpe":"cpe:/a:redhat:camel_quarkus:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel for Spring Boot 4","cpe":"cpe:/a:redhat:camel_spring_boot:4","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 3","cpe":"cpe:/a:redhat:apicurio_registry:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Debezium 3","cpe":"cpe:/a:redhat:debezium:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Quarkus","cpe":"cpe:/a:redhat:quarkus:3","status":"affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"streams for Apache Kafka 3","cpe":"cpe:/a:redhat:amq_streams:3","status":"affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111108"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4221","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-10-28T23:00:00Z","modified_at":"2026-10-28T23:00:00Z","summary":"Apache Kafka: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Apache Kafka ausnutzen, um einen Denial of Service Angriff durchzuführen, um Informationen offenzulegen und um Sicherheitsvorkehrungen zu umgehen.\n\nApache Kafka ist eine verteilte Streaming-Plattform mit einer Publish-Subcribe-Architektur (Pub-Sub).","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-4221"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4221.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221"},{"type":"WEB","url":"https://kafka.apache.org/community/cve-list/"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/414"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/415"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/416"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/417"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/418"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/419"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/420"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/421"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/422"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/423"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/424"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/425"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/426"}]},{"provider":"cvelistv5","source_id":"CVE-2026-111108","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-111108","license":"CC-BY-4.0","published_at":"2026-10-28T16:38:08.524Z","modified_at":"2026-11-05T19:16:48.026Z","summary":"Apache Kafka: Broker OutOfMemoryError via array allocation amplification in code-generated protocol readers","details":"Apache Kafka's code-generated protocol readers pre-size an array's collection from the element count declared by the sender. That count is checked only against the bytes remaining in the request buffer, which assumes about one byte per element; because most elements need several bytes, a request can declare far more elements than the buffer holds and still pass. For a keyed array the reader then allocates an ImplicitLinkedHashCollection of capacity (2 * count +1), so a request of a few tens of megabytes can force a heap allocation several times larger before any element is read. The pattern is emitted into every generated reader, so it affects all Kafka API types with an array field. \n\n\nImpact:\n\nRequest parsing happens before any authorization check. On a listener that does not require authentication (for example PLAINTEXT), an unauthenticated attacker can send a few concurrent requests that each declare a very large=\n\narray length and allocate many times their wire size in broker heap, crashing the broker with an OutOfMemoryError. The reporter demonstrated three concurrent ~90 MB ProduceRequest (v3) connections exhausting a 1 GB heap (~8x amplification). On listeners that require authentication, the attacker needs valid credentials but no specific ACL, since parsing precedes authorization..\n\n\nMitigation:\n\nUpgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure.\n\n\nResolution:\n\nFrom Apache Kafka 4.2.2, 4.3.2, and 4.4.0: generated readers cap the initial array pre-allocation at MessageUtil.MAX_PREALLOCATED_ARRAY_CAPACITY (1000) and grow it on demand, and reject a declared array length above MessageUtil.MAX_ARRAY_LENGTH (1,000,000).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP:CVE-2026-111108"}],"affected":[{"ecosystem":"CVE","package":"Apache Software Foundation/Apache Kafka","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"last_affected":"4.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"last_affected":"4.3.1"}]}],"provider":"cvelistv5","source":"CVE-2026-111108","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://kafka.apache.org/cve-list"}]},{"provider":"osv","source_id":"BIT-kafka-2026-111108","relation":"self","url":"https://osv.dev/vulnerability/BIT-kafka-2026-111108","license":"Apache-2.0","published_at":"2026-11-17T11:47:15.607Z","modified_at":"2026-11-17T13:30:09.815356Z","summary":"Apache Kafka: Broker OutOfMemoryError via array allocation amplification in code-generated protocol readers","details":"Apache Kafka's code-generated protocol readers pre-size an array's collection from the element count declared by the sender. That count is checked only against the bytes remaining in the request buffer, which assumes about one byte per element; because most elements need several bytes, a request can declare far more elements than the buffer holds and still pass. For a keyed array the reader then allocates an ImplicitLinkedHashCollection of capacity (2 * count +1), so a request of a few tens of megabytes can force a heap allocation several times larger before any element is read. The pattern is emitted into every generated reader, so it affects all Kafka API types with an array field. \n\n\nImpact:\n\nRequest parsing happens before any authorization check. On a listener that does not require authentication (for example PLAINTEXT), an unauthenticated attacker can send a few concurrent requests that each declare a very large=\n\narray length and allocate many times their wire size in broker heap, crashing the broker with an OutOfMemoryError. The reporter demonstrated three concurrent ~90 MB ProduceRequest (v3) connections exhausting a 1 GB heap (~8x amplification). On listeners that require authentication, the attacker needs valid credentials but no specific ACL, since parsing precedes authorization..\n\n\nMitigation:\n\nUpgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure.\n\n\nResolution:\n\nFrom Apache Kafka 4.2.2, 4.3.2, and 4.4.0: generated readers cap the initial array pre-allocation at MessageUtil.MAX_PREALLOCATED_ARRAY_CAPACITY (1000) and grow it on demand, and reject a declared array length above MessageUtil.MAX_ARRAY_LENGTH (1,000,000).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"BIT-kafka-2026-111108"}],"affected":[{"ecosystem":"Bitnami","package":"kafka","purl":"pkg:bitnami/kafka","ranges":[{"type":"SEMVER","events":[{"introduced":"3.3.0"},{"fixed":"4.2.2"},{"introduced":"4.3.0"},{"fixed":"4.3.2"}]}],"fixed":["4.2.2","4.3.2"],"provider":"osv","source":"BIT-kafka-2026-111108","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/28/10"},{"type":"WEB","url":"https://kafka.apache.org/cve-list"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111108"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-111108","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-111108","license":"CC-BY-SA-4.0","published_at":"2026-10-28T17:17:00Z","modified_at":"2026-11-18T14:20:09.249979Z","details":"Apache Kafka's code-generated protocol readers pre-size an array's collection from the element count declared by the sender. That count is checked only against the bytes remaining in the request buffer, which assumes about one byte per element; because most elements need several bytes, a request can declare far more elements than the buffer holds and still pass. For a keyed array the reader then allocates an ImplicitLinkedHashCollection of capacity (2 * count +1), so a request of a few tens of megabytes can force a heap allocation several times larger before any element is read. The pattern is emitted into every generated reader, so it affects all Kafka API types with an array field. Impact: Request parsing happens before any authorization check. On a listener that does not require authentication (for example PLAINTEXT), an unauthenticated attacker can send a few concurrent requests that each declare a very large= array length and allocate many times their wire size in broker heap, crashing the broker with an OutOfMemoryError. The reporter demonstrated three concurrent ~90 MB ProduceRequest (v3) connections exhausting a 1 GB heap (~8x amplification). On listeners that require authentication, the attacker needs valid credentials but no specific ACL, since parsing precedes authorization.. Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0: generated readers cap the initial array pre-allocation at MessageUtil.MAX_PREALLOCATED_ARRAY_CAPACITY (1000) and grow it on demand, and reject a declared array length above MessageUtil.MAX_ARRAY_LENGTH (1,000,000).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"UBUNTU-CVE-2026-111108"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-111108"}],"affected":[{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kafka","purl":"pkg:deb/ubuntu/kafka?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0u2-0ubuntu3.1","2.2.0u2-0ubuntu3.2","2.2.2u1-0ubuntu1+esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-111108","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-111108"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-111108"}]},{"provider":"redhat-vex","source_id":"CVE-2026-111108","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-111108","license":"CC-BY-4.0","published_at":"2026-10-28T16:38:08.524Z","modified_at":"2026-11-18T17:44:55Z","summary":"org.apache.kafka/kafka-clients: Apache kafka: Denial of Service via excessive memory allocation during request parsing","details":"A flaw was found in Apache Kafka. Due to improper input validation during protocol request parsing, the service pre-allocates disproportionately large memory collections based on the sender's declared array element count without verifying that the request buffer contains sufficient data. A remote attacker can exploit this vulnerability by sending requests specifying excessively large array lengths, forcing substantial memory allocation before authorization checks occur. This excessive allocation can exhaust broker heap memory and crash the service, resulting in a Denial of Service (DoS).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-111108"},{"type":"Red Hat","score":"Important","source":"CVE-2026-111108"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"not_affected","packages":["openshift-serverless-1/kn-ekb-dispatcher-rhel9","openshift-serverless-1/kn-ekb-receiver-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4 for Quarkus 3","cpe":"cpe:/a:redhat:camel_quarkus:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel for Spring Boot 4","cpe":"cpe:/a:redhat:camel_spring_boot:4","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 3","cpe":"cpe:/a:redhat:apicurio_registry:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Debezium 3","cpe":"cpe:/a:redhat:debezium:3","status":"not_affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"Red Hat build of Quarkus","cpe":"cpe:/a:redhat:quarkus:3","status":"affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111108"},{"vendor":"Red Hat","product":"streams for Apache Kafka 3","cpe":"cpe:/a:redhat:amq_streams:3","status":"affected","packages":["kafka-clients"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111108"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111108.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-111108"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562960"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-111108"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111108"},{"type":"WEB","url":"https://kafka.apache.org/cve-list"}]}],"references":[{"type":"ADVISORY","url":"https://kafka.apache.org/cve-list"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/28/10"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111108"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-111108"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-111108"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111108.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-111108"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562960"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4221","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-28T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-111108","url":"https://www.cve.org/CVERecord?id=CVE-2026-111108","license":"CC-BY-4.0","modified_at":"2026-11-05T19:16:48.026Z","relation":"self"},{"provider":"osv","source_id":"BIT-kafka-2026-111108","url":"https://osv.dev/vulnerability/BIT-kafka-2026-111108","license":"Apache-2.0","modified_at":"2026-11-17T13:30:09.815356Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-111108","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-111108","license":"CC-BY-SA-4.0","modified_at":"2026-11-18T14:20:09.249979Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-111108","url":"https://access.redhat.com/security/cve/CVE-2026-111108","license":"CC-BY-4.0","modified_at":"2026-11-18T17:44:55Z","relation":"self"}]}
