Intel

AIKIDO-2026-270573

lib0 is vulnerable to Out-of-Bounds Read

CVE-2026-102360Published Oct 6, 2026
October 6, 2026

86

CVE Score

High

Out-of-Bounds Read

Are you affected? Scan for Free

TL;DR

lib0's binary decoder readUint8Array builds a Uint8Array view sized directly from a peer-supplied length prefix, without checking it against the bytes remaining in the decoder's buffer. Because small Node Buffers are views into a shared 64 KiB allocation slab, an over-long length returns whatever adjacent data the process allocated next, including other connections' messages, tenant data, or session tokens. readVarUint8Array and readVarString inherit the same missing check. The fix rejects negative or out-of-range lengths before constructing the view.

How do I fix this?

Upgrade the lib0 library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.1.0 - 0.2.117

Fixed in 0.2.118

Background info

lib0 is vulnerable to Out-of-Bounds Read in versions 0.1.0 - 0.2.117.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea