NetSight
medium5.3

CVE-2026-59877

protobufjs compiles protobuf definitions into JavaScript (JS) functions.

Impact

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 packages

EcosystemPackageAffectedFixed in
npmprotobufjs>= 7.5.0, <= 7.6.47.6.5

Affected products

VendorProductAffected versions
Protobufjs ProjectProtobufjs
before 7.6.5
from 8.0.0 before 8.6.6

Weakness classification

References