CVE-2026-106447
HIGH 8.7CVSS 4.0@stablelib/cbor: Stack exhaustion Denial of Service via deeply nested CBOR arrays, maps, or tags
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.
- Published
- 6 Oct 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-674
- Also known as
- GHSA-5jg4-p4qw-cgfr
- Sources
- NVDJSONOSV GHSA-5jg4-p4qw-cgfrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @stablelib/cbor | < 2.0.3 | 2.0.3 |
References
- https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01 · WEB
- https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4
- https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr · WEB
- https://github.com/StableLib/stablelib · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Apr 2026)