Intel

AIKIDO-2026-709877

@bufbuild/protobuf is vulnerable to Denial of Service (DoS)

GHSA-8985-cp8g-g88xPublished Oct 6, 2026
October 6, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

sizeDelimitedDecodeStream() in @bufbuild/protobuf buffers every incoming chunk of a size delimited stream into one growing array with no limit on the advertised frame size. An unauthenticated peer can send a varint header that declares a frame of several gigabytes followed by a continuous byte stream, causing unbounded memory growth that exhausts server RAM. The fix caps the buffered frame size so an oversized advertised length is rejected before that much memory is allocated.

How do I fix this?

Upgrade the @bufbuild/protobuf library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decode size delimited protobuf streams with sizeDelimitedDecodeStream().

Versions

0.0.1 - 2.12.1

Fixed in 2.13.0

Background info

@bufbuild/protobuf is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.12.1.

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