Security mailing lists by PureSourceCode

CVE-2026-59877

HIGH 7.5CVSS 3.1

protobufjs: Denial of Service via infinite loop in .proto option parsing

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
8 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-835
Also known as
GHSA-j3f2-48v5-ccww
Sources
NVDJSONOSV GHSA-j3f2-48v5-ccwwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protobufjs_project protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
< 7.6.5 7.6.5
NVD protobufjs_project protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
>= 8.0.0, < 8.6.6 8.6.6
OSV npm protobufjs >= 7.5.0, < 7.6.5 7.6.5
OSV npm protobufjs >= 8.0.0, < 8.6.6 8.6.6

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.