# CVE-2026-106447: StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-04T05:33:09.000Z
- Modified: 2026-10-07T15:17:12.183Z
- Also known as: GHSA-5jg4-p4qw-cgfr
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- StableLib stablelib: < 2.0.4
- @stablelib/cbor (npm): before 2.0.3

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/StableLib/stablelib/security/advisories/GHSA-5jg4-p4qw-cgfr> (exploit, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-106447](https://www.cve.org/CVERecord?id=CVE-2026-106447), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-5jg4-p4qw-cgfr](https://github.com/advisories/GHSA-5jg4-p4qw-cgfr), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-106447](https://nvd.nist.gov/vuln/detail/CVE-2026-106447), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-106447 · Whole record: https://cve.day/CVE-2026-106447.json · Rebuilt by cve.day 2026-11-25T22:59:42.510Z
