{"id":"CVE-2026-106447","published":"2026-10-06T19:44:03Z","modified":"2026-10-07T14:40:22Z","title":"StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags","vendor":"StableLib","product":"stablelib","tier":"tail","description":{"text":"StableLib is a stable library of useful TypeScript and JavaScript code. Prior to 2.0.4, the @stablelib/cbor decoder recursively processes nested CBOR arrays, maps, and tags through _decodeValue() without enforcing a maximum nesting depth. A sufficiently deep structure exhausts the JavaScript call stack, causing a decoding exception and potentially terminating an uncaught request worker or process. This issue is fixed in version 2.0.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36406,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01","tags":["x_refsource_MISC"]},{"url":"https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"stablelib","affectedVersions":[{"vendor":"StableLib","product":"stablelib","versions":["< 2.0.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T14:39:46.797113Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-93971","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-stablelib-cve-2026-106447","children":[{"from":"CVE-2026-106447","to":"CVE-2026-106448","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/cbor/cbor.ts"],"commits":["https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01","https://github.com/StableLib/stablelib/commit/0f153a63b7552a0e8721f640984113e419015026"],"basis":"shared function","functions":["Decoder"]}]}]}}