Todas las CVE / Apache Software Foundation
CVE-2026-111496Apache Software Foundation Apache Kafka
Desbordamiento de enteros en Kafka Streams causa bloqueo indefinido
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Apache Software Foundation · Apache Software Foundation Apache Kafka Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 28 oct 2026
- Actualizada
- 5 nov 2026
- Categoría
- Servidor · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Qué pasa
Apache Kafka Streams contiene un desbordamiento de enteros en el cálculo del siguiente tiempo de puntuación (PunctuationSchedule.next()). Un registro con marca de tiempo cercana a Long.MAX_VALUE provoca que el hilo de procesamiento se bloquee indefinidamente en un bucle, deteniendo el procesamiento de la aplicación Streams. Solo se requiere acceso de escritura a un tema de origen y un broker que almacene el registro.
Ver el texto original de NVD (en inglés)
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.
Qué hacer
Hay parche · versiones corregidas: 4.2.2, 4.3.2, 4.4.0
Actualiza Apache Kafka Streams a versión 4.2.2, 4.3.2 o 4.4.0. Como defensa adicional, mantén log.message.timestamp.after.max.ms acotado en temas de origen y restringe el acceso de escritura.
- Aplica la actualización de seguridad del fabricante para Apache Kafka.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- Apache Software Foundation · Apache Kafka
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.