What’s Vulnerable › Vulnerabilities
CVE-2026-106447: StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-07
- Weakness: CWE-674
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.
Affected products
- stablelib: before 2.0.4
References
- https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01
- https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4
- https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr
- https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr
Get alerted when CVE-2026-106447 or the next vulnerability affects your stack