Skip to main content
← All vulnerabilities
CVE-2026-106447GHSA-5JG4-P4QW-CGFR

StableLib: Stack exhaustion denial of service via deeply nested CBOR arrays, maps, or tags

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.4, 2.0.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • StableLib stablelib

    fixed in 2.0.4

  • @stablelib/cbornpm

    fixed in 2.0.3

References 3

GitHub · StableLib/stablelib