{"schema":"threatline.record/2","record":{"id":"CVE-2026-104895","aliases":["GHSA-h3c2-2m49-r49w"],"summary":"jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async parser allows OutOfMemoryError denial of service","details":"The asynchronous Smile parser (NonBlockingByteArrayParser) uses a raw-binary length prefix taken from untrusted input to allocate a byte[] before the body is read, with no upper bound and no overflow check. On the raw-binary marker 0xFD, _decodeVInt() computes (value << 6) + (i & 0x3F) without the (value >>> 25) != 0 overflow guard present in the blocking SmileParser._readUnsignedVInt, and _startRawBinary then allocates the declared length immediately.\n\n\n\nA Smile feed of roughly ten bytes can therefore force an eager allocation of approximately 2 GB, producing an OutOfMemoryError on reactive or asynchronous Smile endpoints. A VInt crafted to overflow int yields a negative length and a NegativeArraySizeException, a RuntimeException that is not a JacksonException and so escapes the parser contract. Either outcome crashes the request or processing thread.\n\n\n\nThis is the same class of issue as CVE-2020-28491 in the CBOR parser of this library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard; the asynchronous Smile parser never received the equivalent guard. No privileges or user interaction beyond the ability to submit data for parsing are required.","categories":["Unclassified"],"product":"jackson-dataformat-smile","vendor":"FasterXML","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","product":"jackson-dataformat-smile","vendor":"FasterXML","versions":[{"status":"affected","version":"2.9.0","lessThan":"2.18.12","versionType":"maven"},{"status":"unaffected","version":"2.18.12","versionType":"maven"},{"status":"affected","version":"2.19.0","lessThan":"2.21.8","versionType":"maven"},{"status":"unaffected","version":"2.21.8","versionType":"maven"},{"status":"affected","version":"2.22.0","lessThan":"2.22.4","versionType":"maven"},{"status":"unaffected","version":"2.22.4","versionType":"maven"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","product":"jackson-dataformat-smile","vendor":"FasterXML","versions":[{"status":"affected","version":"3.0.0","lessThan":"3.1.8","versionType":"maven"},{"status":"unaffected","version":"3.1.8","versionType":"maven"},{"status":"affected","version":"3.2.0","lessThan":"3.2.4","versionType":"maven"},{"status":"unaffected","version":"3.2.4","versionType":"maven"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","package":{"name":"jackson-dataformat-smile","ecosystem":null},"version":"2.18.12","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","package":{"name":"jackson-dataformat-smile","ecosystem":null},"version":"2.21.8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","package":{"name":"jackson-dataformat-smile","ecosystem":null},"version":"2.22.4","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","package":{"name":"jackson-dataformat-smile","ecosystem":null},"version":"3.1.8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","source_modified_at":"2026-10-28T00:01:44.496Z","fetched_at":"2026-10-28T01:10:53.534015Z","package":{"name":"jackson-dataformat-smile","ecosystem":null},"version":"3.2.4","basis":"first unaffected version stated in the CVE record"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T00:01:44.496Z","modified_at":"2026-10-28T00:01:44.496Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104895","fetched_at":"2026-10-28T01:10:53.534015Z","source_modified_at":"2026-10-28T00:01:44.496Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-h3c2-2m49-r49w","tags":["vendor-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-28T00:01:44.496Z","content_hash":"3e53a4b0437dc5b064707e0b0e479fe51e2ff42a2ed326ba2f5f3e192b14eb2b"}}
