{"id":"CVE-2026-111496","aliases":["CVE-2026-111496"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-time punctuation","summary":"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.\n\n\nImpact:\n\nA 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.\n\n\nMitigation:\n\nUpgrade 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.\n\n\nResolution:\n\nFrom 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\nImpact:\n\nA 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.\n\n\nMitigation:\n\nUpgrade 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.\n\n\nResolution:\n\nFrom 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.","source":"cvelist"}],"published":"2026-10-28T16:45:08.114Z","modified":"2026-11-05T20:17:41.837Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-190","CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"1.1.0","lastAffected":"4.1.2","status":"affected"},{"type":"semver","introduced":"4.2.0","lastAffected":"4.2.1","status":"affected"},{"type":"semver","introduced":"4.3.0","lastAffected":"4.3.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Kafka","package":"org.apache.kafka:kafka-streams","source":"cvelist"}],"references":[{"url":"https://kafka.apache.org/cve-list","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/28/14","tags":[],"sources":["cvelist","nvd"]}],"credits":["Mike Read (GitHub: Michael-JRead)","Matthias J. Sax <matthias@confluent.io>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-05T19:19:30.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111496","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496","licence":"CVE Terms of Use","modified":"2026-11-05T19:19:35.662Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111496","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111496","licence":"Public domain","modified":"2026-11-05T20:17:41.837Z"}],"updatedAt":"2026-11-25T22:59:47.634Z","epss":{"score":0.00509,"percentile":0.4494,"date":"2026-12-01T12:00:22.000Z"}}