CVE-2026-59876
MEDIUM 4.8CVSS 3.1protobufjs: Text Format string map parsing can mutate returned map object prototype
protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 until 8.6.5, the protobufjs Text Format extension parsed string-keyed map entries using ordinary property assignment, allowing a map entry with key proto to change the prototype of the returned map object instead of creating an own map entry in protobufjs/ext/textformat. This issue is fixed in version 8.6.5.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1321
- Also known as
- GHSA-jfj6-75fj-8934
- Sources
- NVDJSONOSV GHSA-jfj6-75fj-8934JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
>= 8.2.0, < 8.6.5 | 8.6.5 |
| OSV | npm | protobufjs | >= 8.2.0, < 8.6.5 | 8.6.5 |
References
- https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8 · Patch, WEB
- https://github.com/protobufjs/protobuf.js/pull/2335 · Issue Tracking, Patch, WEB
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5 · Product, Release Notes, WEB
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59876 · ADVISORY
- https://github.com/protobufjs/protobuf.js · PACKAGE
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)