← Database

CVE-2026-59877

MEDIUM CVSS: 5.3 Published: 2026-07-08 Modified: 2026-07-10

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.

Affected Platforms

Protobufjs Project Protobufjs

Weakness Type

CWE-835

References