# CVE-2026-59317: Denial of service in Spring for Apache Kafka

> Attackers can cause denial of service in Spring for Apache Kafka by sending malformed headers that trigger infinite retry loops.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 27 Aug 2026
- **Updated:** 28 Aug 2026
- **Also known as:** CLSA-2026-1792590657, GHSA-v648-fvf7-jrg2

## What is CVE-2026-59317?

CVE-2026-59317 is a medium-severity denial of service vulnerability in Spring for Apache Kafka, published on 27 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

DeadLetterPublishingRecovererFactory reads the retry_topic-original-timestamp header from an inbound ConsumerRecord and passes its raw bytes directly to new BigInteger(header.value()) with no length or format validation.
Spring for Apache Kafka 4.1.0
Spring for Apache Kafka 4.0.0 - 4.0.6
Spring for Apache Kafka 3.0.0 - 3.3.16
Spring for Apache Kafka 2.9.0 - 2.9.14
Spring for Apache Kafka 2.8.12 and earlier

Weakness: CWE-1284 (Improper Validation of Specified Quantity in Input)

## Which versions are affected by CVE-2026-59317?

It affects 1 product.


Products: Vmware Spring for Apache Kafka.

## How do I fix CVE-2026-59317?

Upgrade to a fixed version.

## Is CVE-2026-59317 being exploited?

There is no known exploitation of CVE-2026-59317 in the wild and no public exploit code.

## Other vulnerabilities in Spring for Apache Kafka

- [CVE-2026-59278](https://insights.sbomify.com/CVE-2026-59278/): Server-side request forgery in Spring for Apache Kafka (medium 6.5)
- [CVE-2026-41726](https://insights.sbomify.com/CVE-2026-41726/): In Spring for Apache Kafka, unbounded delegate cache keyed on user-controlled, potentially malicious selector header (medium 6.5)
- [CVE-2026-41727](https://insights.sbomify.com/CVE-2026-41727/): In Spring for Apache Kafka, forged retry topic headers subvert retry routing and backoff behavior (medium 6.5)
- [CVE-2023-34040](https://insights.sbomify.com/CVE-2023-34040/): Java Deserialization vulnerability in Spring-Kafka When Improperly Configured (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-59317 and fix it if it is affected.

What it is: CVE-2026-59317 is a medium-severity denial of service vulnerability in Spring for Apache Kafka, published on 27 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-59317 in the wild and no public exploit code.

Affected product: Spring for Apache Kafka. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-59317/ (Markdown: https://insights.sbomify.com/CVE-2026-59317/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-59317
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-59317
- OSV: https://osv.dev/vulnerability/CVE-2026-59317

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-59317/
Summaries are generated and may contain mistakes; the official description above is the record.
