Spring For Apache KafkaWeb server / proxy · VMware

CVE-2026-41726

MEDIUM · 6.5 CVSS v3.1 Published 2026-06-10
Fix available
A fix is available. Upgrade to 2.8.12 / 2.9.14 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
When an application opts into DelegatingDeserializer, a producer can grow the consumer's heap without bound by sending records with unique random spring.kafka.serialization.selector header values, eventually causing GC thrash and OutOfMemoryError. Affected versions: Spring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A denial of service vulnerability in Spring for Apache Kafka's DelegatingDeserializer allows a producer to cause unbounded heap growth by sending records with unique random spring.kafka.serialization.selector header values. The deserializer caches these selector values without bounds, leading to GC thrash and eventual OutOfMemoryError.

MitigationUpgrade to patched versions of Spring for Apache Kafka (4.0.6+, 3.3.16+, 3.2.14+, 2.9.14+, 2.8.12+) or implement header value limiting/validation in custom deserializer implementations to prevent unbounded caching.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Spring For Apache KafkaWeb server / proxy
Affected:< 2.8.12>= 2.9.0, < 2.9.14>= 3.2.0, < 3.2.14>= 3.3.0, < 3.3.15.1>= 4.0.0, < 4.0.5.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify DelegatingDeserializer usage in Kafka configuration
    Search configuration files (application.yml, application.properties) and Java configuration classes for 'DelegatingDeserializer' or the property 'spring.kafka.consumer.properties.spring.kafka.serialization.selector' or similar configurations that use header-based deserializer selection.
    Affected if DelegatingDeserializer is configured as the key or value deserializer for Kafka consumers or producers.
  2. Verify inbound Kafka record processing
    Review Kafka consumer code that deserializes records. Look for @KafkaListener methods or KafkaConsumer usage that deserializes using headers, particularly where the deserializer reads from record headers.
    Affected if The application consumes Kafka records and uses a deserializer that reads the 'spring.kafka.serialization.selector' header from incoming records.
  3. Check for external header input exposure
    Examine whether Kafka record headers could be controlled by external producers. Review if the application processes records from topics that accept submissions from untrusted sources.
    Affected if The application processes Kafka records from topics where producers can set arbitrary header values without validation.
  4. Monitor for unusual deserializer instantiation patterns
    Enable debug logging for org.apache.kafka.common.serialization.Deserializer implementations. Monitor JVM heap usage and object creation rates during Kafka message processing.
    Affected if Heap usage grows continuously or GC frequency increases significantly while processing Kafka records with varying header values.

You are affected if your Kafka consumers use DelegatingDeserializer and process records from topics where external producers can set arbitrary 'spring.kafka.serialization.selector' header values.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2.8.12 / 2.9.14 / 3.2.14 or later
Fixed in 2.8.122.9.143.2.14
Interim mitigation

Upgrade to patched versions of Spring for Apache Kafka (4.0.6+, 3.3.16+, 3.2.14+, 2.9.14+, 2.8.12+) or implement header value limiting/validation in custom deserializer implementations to prevent unbounded caching.

Recommended fix High confidence

Upgrade to 2.8.12, 2.9.14, 3.2.14, 3.3.15.1, or 4.0.6 (or later) depending on your current version branch

  1. 1. Identify the current Spring for Apache Kafka version in your project (check pom.xml, build.gradle, or dependency management)
  2. 2. Determine which version branch you are currently on (2.8.x, 2.9.x, 3.2.x, 3.3.x, or 4.0.x)
  3. 3. Upgrade to the minimum fixed version for your branch: for 2.8.x upgrade to 2.8.12; for 2.9.x upgrade to 2.9.14; for 3.2.x upgrade to 3.2.14; for 3.3.x upgrade to 3.3.15.1; for 4.0.x upgrade to 4.0.6
  4. 4. Update the spring-kafka dependency version in your build configuration
  5. 5. Rebuild and test your application to ensure the upgrade does not introduce regressions
  6. 6. If using DelegatingDeserializer specifically, verify the fix is working by monitoring heap usage under load
Caveat Review Spring Kafka 3.x migration guide if upgrading across major versions as there are API changes between 2.x and 3.x; also check for Kafka broker compatibility requirements

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Spring For Apache Kafka Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-41726 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-41726 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data