CVE-2026-106447GHSA-5jg4-p4qw-cgfr
StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags
StableLib stablelibnpmLibraries & packages
CVSS
8.7HighExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 7 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.37%Chance of exploitation activity in the next 30 days, higher than 29% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 2.0.3@stablelib/cbor, npmOSV
npm install @stablelib/cbor@2.0.3
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 2
- stablelibaffected: < 2.0.4CVE List
- @stablelib/cbor, npmfrom first release, fixed in 2.0.3OSV