Vulnerability library
Security checkMarch 24, 2026

fido2-lib is vulnerable to DoS via cbor-extract heap buffer over-read in CBOR attestation parsing

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmfido2-lib

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

fido2-lib v3.x depends on cbor-x (~1.6.0), which optionally pulls in cbor-extract (C++ native addon). cbor-extract <= 2.2.0 has a heap buffer over-read in extractStrings() — a 5-byte CBOR payload crashes Node.js with SIGSEGV. No JS exception, no try/catch, process dead.

Recommendation

Update the fido2-lib package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 3.5.7
  • Patched version(s): 3.5.8

References

Could your website be exposed too?

SmartScanner can check your website for fido2-lib is vulnerable to DoS via cbor-extract heap buffer over-read in CBOR attestation parsing and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 24, 2026