High

protobuf.js: Denial of service through unbounded protobuf recursion

  • Disclosed: 12.05.2026
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package protobufjs < 7.5.6, >= 8.0.0, < 8.0.2 7.5.6, 8.0.2

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-674
Platform
npm
Package
protobufjs
Disclosed
12.05.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-685m-2w69-288q - CC BY 4.0

Vulnerability history: protobufjs

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (17) in the archive
Total entries
17
First → latest
10.2018 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 6
  • Medium 9

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 1
  6. 2023: 1
  7. 2024: 0
  8. 2025: 0
  9. 2026: 14
Severity:
  1. High · 7.5 CVE-2026-48712 < 7.6.1, >= 8.0.0, < 8.4.1 7.6.1, 8.4.1
  2. High CVE-2026-44293 < 7.5.6, >= 8.0.0, < 8.0.2 7.5.6, 8.0.2
  3. High · 8.1 CVE-2026-44291 < 7.5.6, >= 8.0.0, < 8.0.2 7.5.6, 8.0.2
  4. High · 7.5 CVE-2026-44290 < 7.5.6, >= 8.0.0, < 8.0.2 7.5.6, 8.0.2
  5. protobuf.js: Denial of service through unbounded protobuf recursion this entry
    High · 7.5 CVE-2026-44289 < 7.5.6, >= 8.0.0, < 8.0.2 7.5.6, 8.0.2
  6. Critical · 9.8 CVE-2026-41242 >= 8.0.0, < 8.0.1, < 7.5.5 8.0.1, 7.5.5
  7. Critical · 9.8 CVE-2023-36665 >= 7.0.0, < 7.2.5, >= 6.10.0, < 6.11.4 7.2.5, 6.11.4
  8. High · 7.5 CVE-2022-25878 >= 6.11.0, < 6.11.3, >= 6.10.0, < 6.10.3 6.11.3, 6.10.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.