Intel

AIKIDO-2026-709877

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

Denial of Service (DoS)GHSA-8985-cp8g-g88x Published Yesterday

53

Medium Risk

This Affects:

JS@bufbuild/protobuf
0.0.1 - 2.12.1
Fixed in 2.13.0
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.

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().

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform