Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Kafka produce permission to topic
-
DeliveryPublish single oversized record
-
ExploitTrigger panic in chunkMessagesOptimized flush
-
ExecutionConsumer crashes before offset commit
-
ImpactRestart replays record, crash loop
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires ALL of: (1) the application runs kafka-konsumer in batch mode (BatchConfiguration set) with MessageGroupByteSizeLimit configured to a positive value - the panic path in chunkMessagesOptimized is unreachable otherwise; (2) the attacker holds produce/write permission to the consumed topic (reflected as PR:L); (3) the malicious record exceeds MessageGroupByteSizeLimit yet stays within the Kafka broker's max message size and the reader's MaxBytes, so it is actually delivered to the chunking logic; and (4) affected version in range >=2.3.3 and <2.6.18. The self-sustaining crash loop additionally depends on a supervisor/orchestrator automatically restarting the process, because the offset of the poison record is never committed and is replayed on restart. Limiting factors: topic produce ACLs, use of non-batch consumption, or leaving MessageGroupByteSizeLimit unset all remove exposure; there is no confidentiality or integrity impact. |
| Impact | This is a genuine but bounded availability-only risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H) and the vuln.today 'this_week' decision label agree it is a real, prioritizable issue rather than CVSS-inflated noise. The VA:H with VC:N/VI:N correctly reflects a pure denial-of-service: no data is read or altered. PR:L is the pivotal limiter - the attacker must already hold permission to produce to the consumed Kafka topic, so this is not an anonymous internet-facing flaw but a threat from a compromised or malicious producer inside the messaging trust boundary. No EPSS score was supplied, so widespread-scanning probability cannot be quantified. The CVE is NOT on CISA KEV (no confirmed active exploitation), but the GHSA advisory ships a complete, deterministic reproduction, so weaponization effort is near zero for anyone with produce rights. No signals conflict; the main uncertainty is deployment footprint, since this is a niche Go library. Net: treat as a real patch-this-week item for teams running kafka-konsumer in batch mode with a byte-size limit, de-prioritized where topic produce ACLs are tightly controlled. |
| Exploit ScenarioDerived | An actor with permission to produce to the consumed Kafka topic (an insider, a compromised upstream service, or a misconfigured shared topic) publishes a single record larger than the configured MessageGroupByteSizeLimit but within broker/reader size limits. The batch consumer hits the panic in chunkMessagesOptimized while flushing, terminating the process before the offset is committed; a supervisor-driven restart replays the same uncommitted poison record and crashes again, producing a persistent crash loop. A detailed reproduction (including crash message 'invalid chunk byte size') is published in the GHSA advisory, so no exploit development is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Trendyol's kafka-konsumer Go library panics inside batch_consumer.go when a single Kafka record is larger than the configured MessageGroupByteSizeLimit, killing the consumer process before the record's offset is committed. Only applications running the library in batch mode with a positive MessageGroupByteSizeLimit are exposed, and the attacker must hold produce/write permission on the consumed topic (CVSS PR:L); the result is a persistent crash loop whenever a supervisor restarts the consumer and replays the poison record. Availability-only impact in versions 2.3.3 through 2.6.17, fixed in 2.6.18; the upstream advisory publishes a proof-of-concept reproducer, and there is no indication of active exploitation in the wild. Priority is this week rather than emergency, since exposure depends on batch configuration plus topic write access.
RemediationAI
Upgrade github.com/Trendyol/kafka-konsumer to 2.6.18 or later (release tag https://github.com/Trendyol/kafka-konsumer/releases/tag/v2.6.18, fix commit a290c08b81c70c2d5d4e1f40e4997eae34306078), which processes an oversized record in its own batch instead of panicking; the vendor advisory is https://github.com/Trendyol/kafka-konsumer/security/advisories/GHSA-jjgw-p88q-qrxr. If the upgrade cannot be applied immediately, the panic path can be removed by leaving MessageGroupByteSizeLimit unset or zero, at the cost of losing byte-based batch bounding and allowing unbounded in-memory chunk growth; alternatively, avoid batch mode for topics that untrusted principals can produce to. Tightening Kafka topic ACLs so only trusted producers can write to consumed topics reduces the attacker set, and capping the broker's max.message.bytes below the configured MessageGroupByteSizeLimit prevents an oversized record from being delivered at all, though that ceiling also constrains legitimate large payloads. Supervisor restart backoff or a poison-record quarantine slows but does not stop the crash loop, because the offending offset is never committed and is replayed on each restart.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
kafka-konsumer is a Go wrapper around Kafka consumption that supports batch mode via BatchConfiguration, where MessageGroupByteSizeLimit caps how many message bytes are grouped into a single batch. In chunkMessagesOptimized (batch_consumer.go, roughly lines 204-264 in v2.6.17), the code tested whether appending the next record would exceed the chunk byte limit; when the current chunk was still empty and the record by itself was already larger than the limit, the code called panic("invalid chunk byte size ...") instead of returning an error or isolating the record. Because batchConsumer.consume invokes this chunking while flushing batches - before dispatching to the application's BatchConsumeFn and before committing offsets - the panic terminates the whole Go process and the oversized record is never committed, so any automatic restart replays it and re-triggers the panic. The root cause is a reachable assertion in an input-driven path (CWE-617; the upstream advisory labels it CWE-248, an uncaught exception). The commit a290c08b81c70c2d5d4e1f40e4997eae34306078 removes the panic and instead places an oversized, indivisible message into its own chunk. Triggering requires the record to survive broker max message size and the reader's MaxBytes so it actually reaches the chunking logic.
Know when Kafka Konsumer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote over Kafka (AV:N), deterministic single-message trigger (AC:L), but requires topic produce rights so PR:L; availability-only crash loop gives A:H with C/I:N, scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Trendyol kafka-konsumer from 2.3.3 before 2.6.18 contains a denial of service vulnerability in batch_consumer.go that panics when a single record exceeds MessageGroupByteSizeLimit. Attackers able to produce to the consumed topic can publish one oversized record that terminates the consumer before offset commit, causing a persistent crash loop.
Technical POC Analysis
An explicit, unrecovered panic in the batch chunking path of batchconsumer.go (function chunkMessagesOptimized, hunk at @@ -220,15 +220,14 @@; the advisory points at batchconsumer.go:204-225 and 245-…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in Trendyol's kafka-konsumer Go library (versions 2.3.3-2.6.17) allows a malicious actor with write access to a consumed topic to crash consumer processes by sending an oversized record, causing a persistent denial-of-service that disrupts data pipelines and downstream services. While exploitation requires topic write permissions and specific batch-mode configuration, the impact on availability could affect critical business operations, making timely remediation a priority for engineering leadership.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-119605
GHSA-5hcw-679g-g6cq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB