{"id":"CVE-2026-111496","aliases":["UBUNTU-CVE-2026-111496"],"summary":"Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-time punctuation","published_at":"2026-10-28T16:45:08.114Z","modified_at":"2026-11-18T17:54:54Z","products":[{"slug":"kafka","name":"Apache Kafka","category":"web-data"}],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005080000031739473,"percentile":0.44084998965263367,"date":"2026-11-18T00:00:00Z"},"priority":11.1,"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"Apache Software Foundation/Apache Kafka","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"last_affected":"4.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"last_affected":"4.3.1"}]}],"provider":"cvelistv5","source":"CVE-2026-111496","relation":"self"}],"affected_other":[{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kafka","purl":"pkg:deb/ubuntu/kafka?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0u2-0ubuntu3.1","2.2.0u2-0ubuntu3.2","2.2.2u1-0ubuntu1+esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-111496","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-111496"},{"vendor":"Red Hat","product":"Red Hat build of Quarkus","cpe":"cpe:/a:redhat:quarkus:3","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111496"},{"vendor":"Red Hat","product":"streams for Apache Kafka 3","cpe":"cpe:/a:redhat:amq_streams:3","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-111496"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4221","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-10-28T23:00:00Z","modified_at":"2026-10-28T23:00:00Z","summary":"Apache Kafka: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Apache Kafka ausnutzen, um einen Denial of Service Angriff durchzuführen, um Informationen offenzulegen und um Sicherheitsvorkehrungen zu umgehen.\n\nApache Kafka ist eine verteilte Streaming-Plattform mit einer Publish-Subcribe-Architektur (Pub-Sub).","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-4221"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4221.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221"},{"type":"WEB","url":"https://kafka.apache.org/community/cve-list/"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/414"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/415"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/416"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/417"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/418"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/419"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/420"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/421"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/422"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/423"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/424"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/425"},{"type":"WEB","url":"https://seclists.org/oss-sec/2026/q4/426"}]},{"provider":"cvelistv5","source_id":"CVE-2026-111496","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496","license":"CC-BY-4.0","published_at":"2026-10-28T16:45:08.114Z","modified_at":"2026-11-05T19:19:35.662Z","summary":"Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-time punctuation","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP:CVE-2026-111496"}],"affected":[{"ecosystem":"CVE","package":"Apache Software Foundation/Apache Kafka","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"last_affected":"4.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"last_affected":"4.3.1"}]}],"provider":"cvelistv5","source":"CVE-2026-111496","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://kafka.apache.org/cve-list"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-111496","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-111496","license":"CC-BY-SA-4.0","published_at":"2026-10-28T17:17:00Z","modified_at":"2026-11-07T01:45:11.473934Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"UBUNTU-CVE-2026-111496"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-111496"}],"affected":[{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kafka","purl":"pkg:deb/ubuntu/kafka?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0u2-0ubuntu3.1","2.2.0u2-0ubuntu3.2","2.2.2u1-0ubuntu1+esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-111496","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-111496"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496"},{"type":"REPORT","url":"https://kafka.apache.org/cve-list"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/10/28/14"}]},{"provider":"redhat-vex","source_id":"CVE-2026-111496","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-111496","license":"CC-BY-4.0","published_at":"2026-10-28T16:45:08.114Z","modified_at":"2026-11-18T17:54:54Z","summary":"org.apache.kafka/kafka-streams: Kafka Streams: Denial of Service via integer overflow in timestamp calculation","details":"A flaw was found in Kafka Streams. An attacker with write access to a source topic can cause a Denial of Service (DoS) by submitting a record with an excessively large timestamp. Due to a missing integer overflow check when scheduling periodic stream tasks, the calculation overflows and causes the processing thread to enter an infinite loop, stalling stream execution and rendering the application unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-111496"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-111496"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-111496"},{"vendor":"Red Hat","product":"Red Hat build of Quarkus","cpe":"cpe:/a:redhat:quarkus:3","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-111496"},{"vendor":"Red Hat","product":"streams for Apache Kafka 3","cpe":"cpe:/a:redhat:amq_streams:3","status":"affected","packages":["kafka-streams"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-111496"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111496.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-111496"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2563014"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111496"},{"type":"WEB","url":"https://kafka.apache.org/cve-list"}]}],"references":[{"type":"ADVISORY","url":"https://kafka.apache.org/cve-list"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-111496"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/10/28/14"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111496.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-111496"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2563014"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111496"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4221","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4221","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-28T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-111496","url":"https://www.cve.org/CVERecord?id=CVE-2026-111496","license":"CC-BY-4.0","modified_at":"2026-11-05T19:19:35.662Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-111496","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-111496","license":"CC-BY-SA-4.0","modified_at":"2026-11-07T01:45:11.473934Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-111496","url":"https://access.redhat.com/security/cve/CVE-2026-111496","license":"CC-BY-4.0","modified_at":"2026-11-18T17:54:54Z","relation":"self"}]}
