Infinite loop in protobuf.js - CVE-2026-59877

 

Infinite loop in protobuf.js - CVE-2026-59877

Published: July 4, 2026


Vulnerability identifier: #VU136898
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59877
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to loop with unreachable exit condition in the reflection parsing path when parsing attacker-influenced .proto schema text. A remote attacker can provide a crafted schema with an unterminated option declaration to cause a denial of service.

The issue affects parsing through parse, Root.load, and Root.loadSync, and can block the Node.js event loop until the process is externally terminated.


Affected software

protobuf.js

How to mitigate CVE-2026-59877

Install security update from vendor's website.

protobuf.js - addressed in versions 7.6.5, 8.6.6

External References

Related Security Bulletins