{"id":"CVE-2026-59876","published":"2026-07-08T15:31:11Z","modified":"2026-07-09T14:41:45Z","title":"protobufjs: Text Format string map parsing can mutate returned map object prototype","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00349,"percentile":0.29332,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/2335","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5","tags":["x_refsource_MISC"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":5.87},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">= 8.2.0, < 8.6.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-09T14:41:36.435616Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":[">=8.2.0, <8.6.5"],"patched":["8.6.5"],"from":["GHSA-jfj6-75fj-8934"],"provenance":"source"}],"summary":{"text":"The protobuf.js library (protobufjs) has a flaw in the Text Format extension (protobufjs/ext/textformat) that affects versions from 8.2.0 up to, but not including, 8.6.5, where string-keyed map entries are parsed with ordinary property assignment. An attacker who can supply Text Format input containing a map entry with the key __proto__ can alter the prototype of the returned map object rather than creating a normal entry, with the attack requiring network access, a high-complexity condition, and no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:48Z"},"euvd":{"id":"EUVD-2026-42311","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-protobufjs-protobuf-js-cve-2026-59876","children":[{"from":"CVE-2026-59876","to":"CVE-2026-59877","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"8.6.5","toFixed":"8.6.6","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8","https://github.com/protobufjs/protobuf.js/commit/10fba6d54815ceecca8a06b9a6db490c8f5d2217","https://github.com/protobufjs/protobuf.js/commit/fa5c73add738ceb471e74da8cc2f3727c3d0a69f"],"basis":"shared function","functions":["parse"]}]}],"packageHistory":[{"cve":"CVE-2026-48712","published":"2026-06-22","fixed":"8.4.1","kev":false},{"cve":"CVE-2026-54270","published":"2026-06-22","fixed":"8.5.0","kev":false},{"cve":"CVE-2026-54269","published":"2026-06-22","fixed":"8.6.0","kev":false,"link":{"from":"CVE-2026-54269","to":"CVE-2026-59876","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"8.6.0","toFixed":"8.6.5","daysApart":16}]}},{"cve":"CVE-2026-59876","published":"2026-07-08","fixed":"8.6.5","kev":false},{"cve":"CVE-2026-59877","published":"2026-07-08","fixed":"8.6.6","kev":false}],"package":"npm:protobufjs"}}