Uncontrolled Recursion in Spring for Apache Kafka - CVE-2026-59432
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service by stopping a Kafka listener container.
The vulnerability exists due to uncontrolled recursion in JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper when resolving array types declared in inbound record headers. A remote user can publish a record that causes array type resolution to exhaust the consumer thread's stack and stop the listener container.
The triggering record is not committed, so the listener can stop again when it processes the same record after a restart.