{"id":"CVE-2026-91776","published":"2026-09-23T02:17:50Z","modified":"2026-09-23T14:03:16Z","title":"jackson-databind: unbounded growth of the type id cache in TypeDeserializerBase retains every unknown raw type ID","vendor":"FasterXML","product":"jackson-databind","tier":"tail","description":{"text":"TypeDeserializerBase._findDeserializer() in FasterXML jackson-databind caches the resolved deserializer under the raw, attacker-supplied type ID. When name-based polymorphism is configured with a fallback, for example @JsonTypeInfo(use = Id.NAME, defaultImpl = ...), every distinct unrecognized type ID resolves to the same fallback deserializer but is retained as its own key in the _deserializers map. That map has no configurable bound and lives for the lifetime of the type deserializer, so an attacker who can repeatedly supply fresh unknown type IDs causes monotonic memory retention across requests. The reporter observed 10,000 retained entries from 10,000 distinct unknown IDs, against a single entry for a control that repeated one unknown ID the same number of times, isolating attacker-controlled key cardinality from request volume. Exploitation requires an application that enables name-based polymorphism with a defaultImpl or equivalent fallback, accepts attacker-influenced type IDs, and reuses a long-lived ObjectMapper across requests. The fix stops caching fallback resolutions for unrecognized IDs and bounds both the number of cached entries and the length of a cacheable type ID.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00569,"percentile":0.40922,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-wv8q-qhhj-9h54","tags":["vendor-advisory"]},{"url":"https://github.com/FasterXML/jackson-databind/issues/6203","tags":["patch"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.18},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"fasterxml","affectedVersions":[{"vendor":"FasterXML","product":"jackson-databind","versions":[">= 2.0.0, <= 2.18.10",">= 2.19.0, <= 2.21.6",">= 2.22.0, <= 2.22.2"]},{"vendor":"FasterXML","product":"jackson-databind","versions":[">= 3.0.0, <= 3.1.6",">= 3.2.0, <= 3.2.2"]}],"solutions":{"items":["Upgrade to com.fasterxml.jackson.core:jackson-databind 2.18.11, 2.21.7 or 2.22.3, or to tools.jackson.core:jackson-databind 3.1.7 or 3.2.3. Lines 2.0.x through 2.17.x, 2.19.x, 2.20.x and 3.0.x received no fix on their own branch and are no longer maintained upstream."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Where the polymorphic shape allows it, avoid defaultImpl or another catch-all fallback for name-based type resolution so that unrecognized type IDs fail rather than resolving, or restrict accepted type IDs with a custom TypeIdResolver that rejects unknown names before resolution. Shortening ObjectMapper or type deserializer lifetime limits accumulation but does not eliminate it."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-23T14:02:42.582789Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.fasterxml.jackson.core:jackson-databind","vulnerableRanges":[">=2.0.0, <2.18.11",">=2.19.0, <2.21.7",">=2.22.0, <2.22.3"],"patched":["2.18.11","2.21.7","2.22.3"],"from":["GHSA-wv8q-qhhj-9h54"],"provenance":"source"},{"ecosystem":"Maven","package":"tools.jackson.core:jackson-databind","vulnerableRanges":[">=3.0.0, <3.1.7",">=3.2.0, <3.2.3"],"patched":["3.1.7","3.2.3"],"from":["GHSA-wv8q-qhhj-9h54"],"provenance":"source"}],"summary":{"text":"The flaw is an unbounded type-ID deserializer cache in TypeDeserializerBase._findDeserializer() in FasterXML jackson-databind, which retains a separate entry for every distinct unrecognized raw type ID when name-based polymorphism is configured with a fallback (such as defaultImpl). An attacker who can send repeated requests with fresh unknown type IDs can cause memory to grow steadily over time, which requires the application to accept attacker-influenced type IDs and reuse a long-lived ObjectMapper across requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:13Z"},"euvd":{"id":"EUVD-2026-85002","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fasterxml-jackson-databind-cve-2026-19032","parents":[{"from":"CVE-2026-68497","to":"CVE-2026-91776","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.fasterxml.jackson.core:jackson-databind","fromFixed":"2.18.10","toFixed":"2.18.11","daysApart":12},{"kind":"version-step","provenance":"source","package":"Maven:tools.jackson.core:jackson-databind","fromFixed":"3.1.6","toFixed":"3.1.7","daysApart":12},{"kind":"same-code","provenance":"machine","files":["release-notes/CREDITS-2.x","release-notes/VERSION-2.x"],"commits":["https://github.com/FasterXML/jackson-databind/commit/a99b7e74c8928f43f6975773a8c862c8316178bd","https://github.com/FasterXML/jackson-databind/commit/2870d1d6dc1b7e1c07ee11dd5b04ab71cddbb577"],"basis":"shared function","functions":["Ziya"]}]},{"from":"CVE-2026-19032","to":"CVE-2026-91776","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["release-notes/CREDITS-2.x","release-notes/VERSION-2.x"],"commits":["https://github.com/FasterXML/jackson-databind/commit/cc6756b61ed90b6b9227f670e0408d5d9bd48551","https://github.com/FasterXML/jackson-databind/commit/d94bb632becfe0ba96926b9909ab06d1f87aad6d","https://github.com/FasterXML/jackson-databind/commit/2870d1d6dc1b7e1c07ee11dd5b04ab71cddbb577"],"basis":"shared function","functions":["Ziya"]}]},{"from":"CVE-2026-83557","to":"CVE-2026-91776","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["release-notes/CREDITS-2.x","release-notes/VERSION-2.x"],"commits":["https://github.com/FasterXML/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f","https://github.com/FasterXML/jackson-databind/commit/2870d1d6dc1b7e1c07ee11dd5b04ab71cddbb577"],"basis":"shared function","functions":["Ziya"]}]}],"children":[{"from":"CVE-2026-91776","to":"CVE-2026-91777","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["release-notes/CREDITS-2.x","release-notes/VERSION-2.x"],"commits":["https://github.com/FasterXML/jackson-databind/commit/2870d1d6dc1b7e1c07ee11dd5b04ab71cddbb577","https://github.com/FasterXML/jackson-databind/commit/37ad9b81712cbb9fb62c2d2c1813593252a24b67"],"basis":"shared function","functions":["Ziya"]}]}],"packageHistory":[{"cve":"CVE-2026-19032","published":"2026-09-01","fixed":"2.22.2","kev":false},{"cve":"CVE-2026-68497","published":"2026-09-11","fixed":"2.22.2","kev":false},{"cve":"CVE-2026-83557","published":"2026-09-01","fixed":"2.22.2","kev":false},{"cve":"CVE-2026-91776","published":"2026-09-23","fixed":"2.22.3","kev":false},{"cve":"CVE-2026-91777","published":"2026-09-23","fixed":"2.22.3","kev":false},{"cve":"CVE-2026-54512","published":"2026-06-23","fixed":"3.1.4","kev":false},{"cve":"CVE-2026-54513","published":"2026-06-23","fixed":"3.1.4","kev":false}],"package":"Maven:com.fasterxml.jackson.core:jackson-databind"}}