Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity security flaw in stablelib from StableLib. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 59.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@stablelib/cbor2.0.3GHSA-5jg4-p4qw-cgfr

Affected products (as reported)

VendorProductVersions
StableLib stablelib < 2.0.4

Weakness: CWE-674 · Vector: 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