CVEBrief

Home / Spring / Spring For Apache Kafka / CVE-2023-34040

CVE-2023-34040: is it exploited, and which versions of Spring For Apache Kafka are affected and fixed?

CVE-2023-34040 is a deserialization of untrusted data vulnerability in Spring For Apache Kafka. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.springframework.kafka:spring-kafka from 2.8.1 before 2.9.11 and org.springframework.kafka:spring-kafka from 3.0.0 before 3.0.10 (GitHub advisory GHSA-crqf-q9fp-hwjw). Fixed in 2.9.11 and 3.0.10 (GitHub advisory GHSA-crqf-q9fp-hwjw). Severity: Medium (5.3, CVSS 3.1, from vmware).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:36 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
org.springframework.kafka:spring-kafka from 2.8.1 before 2.9.11 and org.springframework.kafka:spring-kafka from 3.0.0 before 3.0.10
GitHub advisory GHSA-crqf-q9fp-hwjw
Fixed in
2.9.11 and 3.0.10
GitHub advisory GHSA-crqf-q9fp-hwjw
Severity
Medium 5.3
CVSS 3.1 from vmware
Exploit odds (EPSS)
2.09% in 30 days
higher than 82% of CVEs; FIRST, December 2, 2026

What is CVE-2023-34040?

Java Deserialization vulnerability in Spring-Kafka When Improperly Configured

In Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, a possible deserialization attack vector existed, but only if unusual configuration was applied. An attacker would have to construct a malicious serialized object in one of the deserialization exception record headers. Specifically, an application is vulnerable when all of the following are true: * The user does notĀ configure an ErrorHandlingDeserializer for the key and/or value of the record * The user explicitly sets container properties checkDeserExWhenKeyNull and/or checkDeserExWhenValueNull container properties to true. * The user allows untrusted sources to publish to a Kafka topic By default, these properties are false, and the container only attempts to deserialize the headers if an ErrorHandlingDeserializer is configured. The ErrorHandlingDeserializer prevents the vulnerability by removing any such malicious headers before processing the record.

From the CVE record by vmware, last updated October 1, 2024, 16:13 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
SpringSpring For Apache Kafkafrom 2.8.x before 2.9.11
from 2.9.x before 2.9.11
from 3.0.x before 3.0.10
2.9.11, 3.0.10

As the CVE record by vmware states it, last updated October 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.springframework.kafka:spring-kafka>= 2.8.1, < 2.9.112.9.11GHSA-crqf-q9fp-hwjw
Mavenorg.springframework.kafka:spring-kafka>= 3.0.0, < 3.0.103.0.10GHSA-crqf-q9fp-hwjw

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 5, 2024. Summary: Spring-Kafka has Java Deserialization vulnerability When Improperly Configured.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
vmwarespring for apache kafkafrom 2.8.1 through 2.9.10application
vmwarespring for apache kafkafrom 3.0.0 through 3.0.9application

NVD analysis (status Modified), last modified June 17, 2026, 06:02 UTC.

How severe is CVE-2023-34040?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Lvmware
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-34040 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 1, 2024)
EPSS
2.09% probability of exploitation activity in the next 30 days, percentile 82.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 25, 2023
Published
August 24, 2023, 12:59 UTC
CVE record updated
October 1, 2024, 16:13 UTC by vmware
NVD
Modified, last modified June 17, 2026, 06:02 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Spring For Apache Kafka?

Every CVE in Spring For Apache Kafka

Questions about CVE-2023-34040

Is CVE-2023-34040 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 2.09% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Spring For Apache Kafka are affected by CVE-2023-34040?

org.springframework.kafka:spring-kafka from 2.8.1 before 2.9.11 and org.springframework.kafka:spring-kafka from 3.0.0 before 3.0.10, per the GitHub advisory GHSA-crqf-q9fp-hwjw. The tables above give every range the sources list.

Which version fixes CVE-2023-34040?

2.9.11 and 3.0.10, per the GitHub advisory GHSA-crqf-q9fp-hwjw. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-34040?

Medium (5.3, CVSS 3.1, from vmware). The severity table above shows each score with its source.

Where is the official record of CVE-2023-34040?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.