Skip to main content
← All vulnerabilities
CVE-2026-59877GHSA-J3F2-48V5-CCWW

protobufjs: Denial of Service via infinite loop in .proto option parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.6.5, 8.6.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.6.5 and 8.6.6, protobufjs parsed option names by advancing through schema tokens until reaching an = token without checking for end of input, so a crafted .proto schema that opens an option declaration and ends prematurely can cause parse, Root.load, or Root.loadSync to loop indefinitely. This issue is fixed in versions 7.6.5 and 8.6.6.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    From 7.5.0 · fixed in 7.6.5; From 8.0.0 · fixed in 8.6.6

  • protobufjsnpm

    From 7.5.0 · fixed in 7.6.5

  • protobufjsnpm

    From 8.0.0 · fixed in 8.6.6

References 6

GitHub · protobufjs/protobuf.js