Home

Description

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.

PUBLISHED Reserved 2026-07-07 | Published 2026-07-08 | Updated 2026-07-08 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem types

CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Product status

>= 7.5.0, < 7.6.5
affected

>= 8.0.0, < 8.6.6
affected

References

github.com/...buf.js/security/advisories/GHSA-j3f2-48v5-ccww

github.com/protobufjs/protobuf.js/pull/2352

github.com/...ommit/10fba6d54815ceecca8a06b9a6db490c8f5d2217

github.com/...ommit/fa5c73add738ceb471e74da8cc2f3727c3d0a69f

github.com/...fjs/protobuf.js/releases/tag/protobufjs-v7.6.5

github.com/...fjs/protobuf.js/releases/tag/protobufjs-v8.6.6

cve.org (CVE-2026-59877)

nvd.nist.gov (CVE-2026-59877)

Download JSON