Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-41731

published high CVSS 3.1 · 8.1

In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization

Published
09 Jun 2026, 23:49:26 UTC
Updated
05 Aug 2026, 12:14:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Spring — Spring for Apache Kafka4.0.0 to < 4.0.5.1 · 3.3.0 to < 3.3.15.1 · 3.2.0 to < 3.2.14 · 2.9.0 to < 2.9.14 · 2.8.0 to < 2.8.12 · Other versions: unaffected Affected Not stated vmware
Red Hat — spring-kafkaRed Hat Fuse 7 Affected Not stated redhat-SADP
Red Hat — spring-kafkaRed Hat JBoss Enterprise Application Platform Expansion Pack Unaffected Not required redhat-SADP

Description

JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's default bean deserialization, a producer could supply crafted header values that caused the consumer to deserialize arbitrary JDK types. 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.

en · vmware · cna

en · redhat-SADP · adp

A flaw was found in the spring-kafka component. A remote attacker, by supplying crafted header values, could exploit a vulnerability in JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper that incorrectly matched type headers against trusted packages. This issue, combined with Jackson's default bean deserialization, could allow the consumer to deserialize arbitrary Java Development Kit (JDK) types. This could lead to arbitrary code execution on the affected system.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
vmware · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.1 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Spring Spring for Apache Kafka 4.0.0 to < 4.0.5.1 (affected · custom)3.3.0 to < 3.3.15.1 (affected · custom)3.2.0 to < 3.2.14 (affected · custom)2.9.0 to < 2.9.14 (affected · custom)2.8.0 to < 2.8.12 (affected · custom)Default: unaffected vmware · cna
Red Hat Red Hat Fuse 7 Default: affected redhat-SADP · adp
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Default: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-502 CWE-502: Deserialization of Untrusted Data (vmware · cna)
  • CWE-502 Deserialization of Untrusted Data (redhat-SADP · adp)

References

4

Provider assertions

3

vmware · cna

In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization

redhat-SADP · adp

spring-kafka: Spring for Apache Kafka: Arbitrary code execution via insecure deserialization of crafted header values

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6a08311693ae7e07814c703eb8824991457f9b6c0f480945d7b362379c5f1b44
Ingested
23 Sep 2026, 09:14:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected