{"cve":"CVE-2026-54270","nvd":{"published":"2026-06-22T18:16:45.480","modified":"2026-10-25T23:10:00.167","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-770"],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-94rc-8x27-4472"],"products":["protobufjs_project:protobufjs"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-54270","score":0.00402,"percentile":0.34224,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-94rc-8x27-4472","url":"https://osv.dev/vulnerability/GHSA-94rc-8x27-4472","summary":"protobufjs: Memory amplification from preserved unknown fields in binary decode","modified":"2026-09-10T03:50:49.087048388Z","packages":[{"ecosystem":"npm","name":"protobufjs","purl":"pkg:npm/protobufjs","ranges":[">=8.2.0 <8.5.0"],"fixed":["8.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}