CVE-2026-106447 StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags
HighCVSS 8.7
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| StableLib @stablelib/cbor(npm) | < 2.0.3 | 2.0.3 | Fixed |
| stablelib | = < 2.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stablelib | = < 2.0.4 | No fix listed |
| StableLib @stablelib/cbor(npm) | < 2.0.3 | 2.0.3 |
References
- https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr exploit
- https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01
- https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4
- github.com product
- ENISA EUVD EUVD-2026-93971 third-party-advisory