Description
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 8.6.0 and 7.6.3, protobufjs accepted certain schema-derived names that could collide with properties used by protobufjs runtime helpers. The known affected names are fields named hasOwnProperty, field or oneof names such as $type when loaded through protobufjs JSON/reflection descriptors, and service methods whose generated helper name is rpcCall. When affected message or service types were used, protobufjs could read schema-controlled data where it expected an own-property helper, reflected type metadata, or the base RPC helper. This could cause deterministic exceptions or recursive calls in affected decode post-checks, verification, object conversion, reflected JSON serialization, or protobufjs RPC helper invocation. This vulnerability is fixed in 8.6.0 and 7.6.3.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Provided by | CNA |
Weaknesses
- CWE-674 — CWE-674: Uncontrolled Recursion
- CWE-754 — CWE-754: Improper Check for Unusual or Exceptional Conditions
Affected products
| Vendor | Product | Versions |
|---|---|---|
| protobufjs | protobuf.js | < 7.6.3; >= 8.0.0, < 8.6.0 |
References
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f38q-mgvj-vph7 (x_refsource_CONFIRM)
Generated from the official CVE List on 23 Jun 2026 10:05 UTC.