CVE-2026-59876 PUBLISHED

protobufjs: Text Format string map parsing can mutate returned map object prototype

Assigner: GitHub_M
Reserved: 07.07.2026 Published: 08.07.2026 Updated: 08.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS Score: 4.8

Product Status

Vendor protobufjs
Product protobuf.js
Versions
  • Version >= 8.2.0, < 8.6.5 is affected

References

Problem Types

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') CWE