Back to overview

CVE-2026-59877

MEDIUM
5.3
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-59877
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-07-07 15:41 UTC
Published
2026-07-08 15:28 UTC
Last updated
2026-07-08 15:49 UTC
Primary CWE
CWE-835
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loo…
Vendor / Product
protobufjs / protobuf.js
Sources
cve.org  ·  NVD

Severity & Metrics

5.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
protobufjs protobuf.js >= 7.5.0, < 7.6.5, >= 8.0.0, < 8.6.6
Weakness (CWE)
CWESourceDescription
CWE-835 cna CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.3 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References (6)
Back to overview