CVE-2026-59317 lives in Spring Kafka's DeadLetterPublishingRecovererFactory, which handles retry and dead-letter processing. When a message fails, this factory reads a header from the ConsumerRecord and passes raw bytes directly to BigInteger's byte[] constructor. That's the vulnerability—the code treats header bytes as trusted numeric input without validation.

The CVSS 6.5 score treats this as a denial-of-service bug: malformed bytes cause an unhandled NumberFormatException and break the recoverer. That's a valid failure mode, but it's not the interesting one. BigInteger's byte[] constructor doesn't parse decimal strings—it interprets input as two's complement binary representation, where the high bit determines sign. A negative BigInteger constructed from unvalidated header bytes enters the retry metadata domain and may be used in timestamp comparisons, ordering operations, or TTL calculations. If downstream retry logic treats this value as trustworthy (the code's lack of validation implies it does), you've created a type-confusion condition where attacker-supplied bytes masquerade as a valid timestamp.

The attack surface is header poisoning, not payload injection. Any producer that can send messages to a topic that eventually enters the retry pipeline can plant a crafted header. In shared-topic architectures or multi-tenant environments where untrusted producers write to the same infrastructure, this becomes a meaningful cross-tenant risk. The poisoned timestamp doesn't stay contained—it flows into retry scheduling calculations, consumer lag metrics, alerting thresholds, and replay ordering for downstream consumers. A single negative BigInteger can corrupt operational decision-making across your entire event infrastructure.

The CVSS weighting warrants scrutiny. The retry metadata poisoning scenario represents a genuine integrity violation (retry logic making incorrect routing or timing decisions) rather than just a reliability problem, which may shift the severity assessment upward. Regardless of scoring, audit your Kafka retry pipelines for any code paths that consume header values without validation—the Spring Kafka recoverer API provides convenient access to failed-record headers, which implicitly signals the data is trustworthy. That signal is the trap.