← Übersicht Apache Kafka

Apache Kafka: Denial of service in Kafka Streams and client deserializers via unbounded memory allocation

CVE-2026-111551 · BIT-kafka-2026-111551 · UBUNTU-CVE-2026-111551

Hoch · CVSS 7.5 Red Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
28.10.2026
Zuletzt geändert
17.11.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 7 betroffen, 1 nicht betroffen.

Red Hat Fuse 7 BetroffenFix zurückgestellt kafka-clients, kafka-streams
Red Hat build of Apache Camel 4 for Quarkus 3 BetroffenFix ausstehend kafka-clients
Red Hat build of Apache Camel for Spring Boot 4 BetroffenFix ausstehend kafka-clients
Red Hat build of Apicurio Registry 3 BetroffenFix ausstehend kafka-clients
Red Hat build of Debezium 3 BetroffenFix ausstehend kafka-clients
Red Hat build of Quarkus BetroffenFix ausstehend kafka-clients, kafka-streams
streams for Apache Kafka 3 BetroffenFix ausstehend kafka-clients, kafka-streams
Nicht betroffen (1)
OpenShift ServerlessNicht betroffenverwundbarer Code nicht enthaltenopenshift-serverless-1/kn-ekb-dispatcher-rhel9, openshift-serverless-1/kn-ekb-receiver-rhel9

Betroffene Pakete im beobachteten Stack

CVEApache Software Foundation/Apache Kafkakein Fix bekanntCVE-2026-111551
CVEApache Software Foundation/Apache Kafkakein Fix bekanntCVE-2026-111551
Weitere betroffene Pakete (2)
Bitnamikafka4.2.0 → 4.2.2, 4.3.0 → 4.3.2BIT-kafka-2026-111551
Ubuntu:Pro:18.04:LTSkafkakein Fix bekanntUBUNTU-CVE-2026-111551

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.