CVE-2026-111551: Apache Kafka: Denial of service in Kafka Streams and client deserializers via unbounded memory allocation
CVE-2026-111551 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.5 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.- Weakness
- CWE-789 Memory allocation with excessive size value
- CWE-400 Uncontrolled Resource Consumption
- CWE-20 Improper input validation
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- Fixed releases
- Apache: 4.2.2, 4.3.2, 4.4.0
- Red Hat: 4.2.2, 4.3.2, 4.4.0
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-111551; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
Several Kafka deserialization paths read a size or count field from input data and use it directly to allocate an array, collection, or byte buffer, with no check against the bytes actually available. A small crafted input can therefore declare a very large size and force a multi-gigabyte allocation. The affected paths are, in Kafka Streams, ProcessorRecordContext (header count), ChangedDeserializer (varint value length), CombinedKeySchema (foreign-key length, which could also produce a negative size), ProcessorMetadata (key length), and AssignmentInfo group-assignment decoding; and, in the clients library, ListDeserializer (used by ListSerde). Impact: An attacker can trigger the oversized allocation and raise an OutOfMemoryError that crashes the affected consumer or Kafka Streams thread; the broker and the rest of the cluster are unaffected. The reachable surface depends on the path: writing a crafted record to a Streams application's internal changelog or repartition topics, or committing crafted offset metadata to its consumer group (Streams internal paths); writing a crafted record to any topic that a consumer reads with ListSerde (ListDeserializer); or, as a member of a Streams consumer group, returning crafted assignment data when elected leader (AssignmentInfo). Because a crafted record remains in its topic, the error can recur on restart. The record size limit (max.message.bytes) does not help, because the allocation is driven by a size field rather than by the input's length. Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Where authorization is enabled, restrict write access to each application's internal topics and consumer group to its own principal, and restrict who can produce to topics that are consumed with ListSerde. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0: these deserialization paths validate the declared size against the remaining input before allocating and reject input that fails the check.
Text from the CVE.org record (apache).
How do I fix CVE-2026-111551?
Upgrade to a fixed release named by the vendor:
- Apache: 4.2.2, 4.3.2, 4.4.0
- Red Hat: 4.2.2, 4.3.2, 4.4.0
- The record size limit (max.message.bytes) does not help, because the allocation is driven by a size field rather than by the input's length. (Apache)
- Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. (Apache)
Vendor advisories for CVE-2026-111551
Apache
1 advisory- Advisory severityUnrated
Advisory [CVE-2026-111551] Apache Kafka: Denial of service in Kafka Streams and client deserializers via unbounded memory allocation
CVE-2026-111551Source published Source updated
Several Kafka deserialization paths read a size or count field from input data and use it directly to allocate an array, collection, or byte buffer, with no check against the bytes actually available. A small crafted input can therefore declare a very large size and force a multi-gigabyte allocation. The affected paths are, in Kafka Streams, ProcessorRecordContext (header count), ChangedDeserializer (varint value length), CombinedKeySchema (foreign-key length, which could also produce a negative size), ProcessorMetadata (key length), and AssignmentInfo group-assignment decoding; and, in the clients library, ListDeserializer (used by ListSerde). Impact: An attacker can trigger the oversized allocation and raise an OutOfMemoryError that crashes the affected consumer or Kafka Streams…
- Affected products in this advisory
- Apache Kafka
- Source-reported affected versions
- Apache Kafka 0.10.0.0 through 4.1.2
- Apache Kafka 4.2.0 through 4.2.1
- Apache Kafka 4.3.0 through 4.3.1
- Source-reported fixed versions
- 4.2.2
- 4.3.2
- 4.4.0
- Mitigation guidance
- The record size limit (max.message.bytes) does not help, because the allocation is driven by a size field rather than by the input's length.
- Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0.
- Workarounds
- Where authorization is enabled, restrict write access to each application's internal topics and consumer group to its own principal, and restrict who can produce to topics that are consumed with ListSerde.
Red Hat
1 advisory- Advisory severityHigh7.5
High [CVE-2026-111551] Denial of Service via memory exhaustion during deserialization
CVE-2026-111551Source published Source updated
Denial of Service via memory exhaustion during deserialization. Red Hat rates this important (CVSS 7.5). Weakness: CWE-770. Affected products named by the advisory: OpenShift Serverless; Red Hat build of Apache Camel 4 for Quarkus 3; Red Hat build of Apache Camel for Spring Boot 4; Red Hat build of Apicurio Registry 3; and 4 more.
- Related products — impact not confirmed
- OpenShift Serverless
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Apicurio Registry 3
4 more entries in the full advisory.
- Source-reported affected versions
- < 4.2.2
- < 4.3.2
- < 4.4.0
- Source-reported fixed versions
- 4.2.2
- 4.3.2
- 4.4.0
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
References
- CVE-2026-111551 recordCVE.org
- CVE-2026-111551 detailNVD
- kafka.apache.org/cve-listvendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-114349Oct 28, 2026Apache Kafka: Denial of serviceCVE-2026-112375Oct 28, 2026Apache Kafka: Unauthorized principal can read arbitrary broker filesCVE-2026-116593Oct 28, 2026Apache Kafka: Kafka Connect configuration provider values exposedCVE-2026-115644Oct 28, 2026Apache Kafka: Connect Admin REST API Authentication Bypass via Unapplied REST ExtensionsCVE-2026-111496Oct 28, 2026Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-timeCVE-2026-111115Oct 28, 2026Apache Kafka: Broker OutOfMemoryError
Get an email when Apache publishes the next one.
See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Get alerts for new CVEs on your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.