Advisory

GHSA-685m-2w69-288q

Also known as: CVE-2026-44289

Summary

protobuf.js: Denial of service through unbounded protobuf recursion

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-12 15:01 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

protobufjs

npm · All systems

Affected

  • introduced 0, fixed 7.5.6 (semver)

Fixed versions

7.5.6

Fix

protobufjs

npm · All systems

Affected

  • introduced 8.0.0, fixed 8.0.2 (semver)

Fixed versions

8.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences