Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-59876 EUVD-2026-42311GHSA-jfj6-75fj-8934

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

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
protobufjs protobuf.js >= 8.2.0, < 8.6.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm protobufjs >= 8.2.0, < 8.6.5 8.6.5 GHSA-jfj6-75fj-8934

References