NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-44289: protobuf.js: Denial of service through unbounded protobuf recursion

highCVSS 3.1 7.5GHSA-685m-2w69-288q

Summary protobufjs could recurse without a depth limit while decoding nested protobuf data. This affected both skipping unknown group fields and generated decoding of nested message fields. A crafted protobuf binary payload could cause the JavaScript call stack to be exhausted during decoding.

Published May 12, 2026 · Updated May 14, 2026

Affected packages

protobufjs

Ecosystem
npm
Affected
<= 7.5.5
Fixed in
7.5.6
Check
npm ls protobufjs

protobufjs

Ecosystem
npm
Affected
>= 8.0.0, <= 8.0.1
Fixed in
8.0.2
Check
npm ls protobufjs

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

protobufjs could recurse without a depth limit while decoding nested protobuf data. This affected both skipping unknown group fields and generated decoding of nested message fields.

A crafted protobuf binary payload could cause the JavaScript call stack to be exhausted during decoding.

Impact

An attacker who can provide protobuf binary data decoded by an application may be able to crash the process or otherwise cause decoding to fail with a stack overflow.

This affects applications that decode untrusted protobuf binary input with affected versions.

Preconditions

  • The application must decode protobuf binary data influenced by an attacker.
  • The crafted input must contain deeply nested protobuf structures, such as nested group tags or nested message fields.
  • The affected decoder path must process the crafted input.

Workarounds

Avoid decoding untrusted protobuf binary data with affected versions. If immediate upgrade is not possible, reject excessively nested messages at an outer protocol boundary where feasible, or isolate protobuf decoding in a process that can be safely restarted.

Credited to peaktwilight, VladimirEliTokarev, AKiileX, tndud042713, dcodeIO, alexander-fenster.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries