4.8Medium

CVE-2026-59876protobufjs: Text Format string map parsing can mutate returned map object prototype

protobufjs protobuf.js Published: (4 months ago)

Description

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.

Weakness (CWE): CWE-1321

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
protobufjs protobuf.js >= 8.2.0, < 8.6.5
protobufjs project protobufjs 8.2.0 – < 8.6.5

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* ≥ 8.2.0 < 8.6.5