{"schemaVersion":4,"id":"CVE-2026-59432","aliases":[],"status":"published","duplicateOf":null,"title":"In Spring for Apache Kafka, listener container denial of service via deeply nested or thread-creating array type headers","description":"When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserialize each header value into the type named for it in the producer-controlled spring_json_header_types header, provided that type's package is trusted. Because java.lang and java.util are trusted by default, a producer can declare a type with a very large number of array dimensions, such as java.lang.String followed by many [] suffixes, or an array of java.util.Timer .\n\n Resolving the deeply nested array type recurses once per dimension and overflows the stack of the consumer thread with a StackOverflowError . Deserializing a java.util.Timer array starts a new thread for each element, so a large array can exhaust the native threads of the application. In both cases, the error is not caught by the mapper, so the listener container stops before the record is committed, and stops again on the same record after a restart. A malicious producer can use a single record to repeatedly stop consumption.\n\n An application is affected if it consumes records from a topic that an attacker can produce to and maps headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default for @KafkaListener methods and other listeners using the messaging message converters.","dates":{"published":"2026-12-02T07:12:45.673Z","modified":"2026-12-02T16:14:13.730Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00712,"percentile":0.54944,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.0054,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00712,"percentile":0.54944}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.0054,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00712,"percentile":0.54944}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"spring","product":"spring for apache kafka","name":"Spring for Apache Kafka","label":"spring for apache kafka","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.1.0, < 4.1.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.0","startInclusive":true,"end":"4.1.2.1","endInclusive":false}},{"text":"≥ 4.0.0, < 4.0.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.0.8.1","endInclusive":false}},{"text":"≥ 3.0.0, < 3.3.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.3.18","endInclusive":false}},{"text":"≥ 2.9.0, < 2.9.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9.0","startInclusive":true,"end":"2.9.16","endInclusive":false}},{"text":"< 2.8.14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.14","endInclusive":false}},{"text":"≥ 4.1.0, < 4.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.0","startInclusive":true,"end":"4.1.3","endInclusive":false}},{"text":"≥ 4.0.0, < 4.0.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.0.9","endInclusive":false}}],"versionsText":"≥ 4.1.0, < 4.1.2.1 | ≥ 4.0.0, < 4.0.8.1 | ≥ 3.0.0, < 3.3.18 | ≥ 2.9.0, < 2.9.16 | < 2.8.14 | ≥ 4.1.0, < 4.1.3 | ≥ 4.0.0, < 4.0.9","eol":null,"hubHref":"/vendor/spring/spring_for_apache_kafka"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59432","label":"spring.io/security/cve-2026-59432","hostname":"spring.io","tags":[]},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H&version=3.1","label":"nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H&version=3.1","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:12:45.673Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-02T16:14:13.730Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,65],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00712,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T16:14:13.730Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T16:14:13.730Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-02T16:13:12.176Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00712,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:54:47.431Z","stale":false,"partial":false}}