# CVE-2023-34040: Spring-Kafka has Java Deserialization vulnerability When Improperly Configured

Source: https://junglewise.ai/threats/cve-2023-34040-spring-kafka-has-java-deserialization-vulnerability-when  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-08-24  
License: CC BY 4.0 with a link back

CVE-2023-34040 · Severity: low · CVSS 3.1 · Published 2023-08-24

Spring-Kafka has Java Deserialization vulnerability When Improperly Configured

Technologies: [org.springframework.kafka:spring-kafka (Maven)](https://junglewise.ai/threats/technologies/org-springframework-kafka-spring-kafka). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-34040 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-34040 being exploited in the wild.

**How severe is CVE-2023-34040?** Low severity, with a CVSS score of 3.1, published 24 August 2023.

**Which products and versions are affected?** org.springframework.kafka:spring-kafka (Maven) ECOSYSTEM:introduced=2.8.1,fixed=2.9.11.

**Is there a fix for CVE-2023-34040?** Yes. org.springframework.kafka:spring-kafka (Maven): upgrade to 2.9.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-34040?** Check whether you run org.springframework.kafka:spring-kafka (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.kafka:spring-kafka (Maven): upgrade to 2.9.11 or later

  ```sh
  # set org.springframework.kafka:spring-kafka to 2.9.11 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.kafka:spring-kafka (Maven) ECOSYSTEM:introduced=2.8.1,fixed=2.9.11

## Identifiers

- CVE-2023-34040
- GHSA-crqf-q9fp-hwjw

## Related threats

- [VMware Spring for Apache Kafka deserialization in JsonKafkaHeaderMapper](https://junglewise.ai/threats/cve-2026-41731-vmware-spring-for-apache-kafka-deserialization-in)
- [VMware Spring Kafka improper input validation in retry topic infrastructure](https://junglewise.ai/threats/cve-2026-41727-vmware-spring-kafka-improper-input-validation-in-retry-topic)
- [VMware Spring for Apache Kafka denial of service in DelegatingDeserializer](https://junglewise.ai/threats/cve-2026-41726-vmware-spring-for-apache-kafka-denial-of-service-in)
