{"id":"CVE-2026-54270","published":"2026-06-22T16:19:20Z","modified":"2026-06-23T16:09:51Z","title":"protobufjs: Memory amplification from preserved unknown fields in binary decode","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 to 8.4.2, protobufjs preserved unknown wire elements in message.$unknowns and did not provide a decode-time option to discard unknown fields before retaining them. A crafted protobuf payload containing many unknown fields could therefore cause a decoded message to retain substantially more memory than the input size would suggest, even when unknown-field round-tripping is not needed. protobufjs 8.5.0 added the relevant decode-time options, allowing applications that decode untrusted protobuf data to disable unknown-field retention during decode. protobufjs 8.6.2 flips the default so unknown fields are discarded unless explicitly opted into.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.35343,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-94rc-8x27-4472","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.07},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">=8.2.0, < 8.5.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T14:47:41.353008Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":[">=8.2.0, <8.5.0"],"patched":["8.5.0"],"from":["GHSA-94rc-8x27-4472"],"provenance":"source"}],"summary":{"text":"The protobuf.js library, which compiles protobuf definitions into JavaScript, preserved unknown wire fields in message.$unknowns during binary decoding in versions 8.2.0 through 8.4.2, with no decode-time option to discard them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:12Z"},"euvd":{"id":"EUVD-2026-38305","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44294","published":"2026-05-13","fixed":"8.0.2","kev":false},{"cve":"CVE-2026-45740","published":"2026-05-13","fixed":"8.2.0","kev":false},{"cve":"CVE-2026-48712","published":"2026-06-22","fixed":"8.4.1","kev":false,"link":{"from":"CVE-2026-48712","to":"CVE-2026-54270","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"8.4.1","toFixed":"8.5.0","daysApart":0}]}},{"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-54270","to":"CVE-2026-54269","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"8.5.0","toFixed":"8.6.0","daysApart":0}]}},{"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"}}