← Übersicht Apache Kafka

Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-time punctuation

CVE-2026-111496 · UBUNTU-CVE-2026-111496

Kritisch · CVSS 9.1 Red Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

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

Beschreibung

Originaltext der Quelle, nicht übersetzt.

Kafka Streams derives its stream-time clock from record timestamps. PunctuationSchedule.next() computed the next punctuation time as timestamp + (intervalsMissed + 1) * interval with no overflow check. A record with a timestamp at or near Long.MAX_VALUE advances stream time to that value, so the next stream-time punctuation overflows to a negative time. PunctuationQueue then re-queues that time and loops on it indefinitely while holding a lock, stalling the StreamThread. Impact: A single record is enough. The affected StreamThread stops processing, and because the record stays in the topic the hang returns on restart; an application whose partitions are all affected becomes unresponsive. Only the Streams application is affected, not the brokers or the cluster. Triggering it needs write access to a source topic whose topology uses stream-time punctuation, and a broker that stores the record: brokers from Apache Kafka 4.0.0 reject such a timestamp by default (log.message.timestamp.after.max.ms, one hour), so it is reachable only on older brokers or where that bound has been relaxed. Mitigation: Upgrade Kafka Streams to 4.2.2, 4.3.2, or 4.4.0. As defense in depth, keep log.message.timestamp.after.max.ms bounded on source topics and restrict write access to them. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0: the next punctuation time is computed with overflow-checked arithmetic (clamped to Long.MAX_VALUE), and a rescheduled punctuation is re-queued only when its time moves forward.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 betroffen.

Red Hat Fuse 7 Betroffenaußerhalb des Supports kafka-streams
Red Hat build of Quarkus BetroffenFix zurückgestellt kafka-streams
streams for Apache Kafka 3 BetroffenFix zurückgestellt kafka-streams

Betroffene Pakete im beobachteten Stack

CVEApache Software Foundation/Apache Kafkakein Fix bekanntCVE-2026-111496
Weitere betroffene Pakete (1)
Ubuntu:Pro:18.04:LTSkafkakein Fix bekanntUBUNTU-CVE-2026-111496

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.