CVE-2026-54270: protobufjs: Memory amplification from preserved unknown fields in binary decode
Vulnerability summary
CVE-2026-54270 is a medium (CVSS 5.3) vulnerability in protobufjs_project protobufjs. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.5% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Decrease -0.11 pp
From 0.40% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- librechat< 0.8.7-r3
Npm1 product
- protobufjs≥ 8.2.0, < 8.5.0
Protobufjs1 product
- protobufjs≥ 8.2.0, < 8.5.0
Protobufjs_project1 product
- protobufjs≥ 8.2.0, < 8.5.0
4 vendors · 4 products
References
4 links- github.com/protobufjs/protobuf.js/security/advisories/GHSA-94rc-8x27-4472X Refsource CONFIRMWEBAdvisoryMitigationVendor Advisory