GHSA-685m-2w69-288q

Suggest an improvement
Source
https://github.com/advisories/GHSA-685m-2w69-288q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-685m-2w69-288q/GHSA-685m-2w69-288q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-685m-2w69-288q
Aliases
  • CVE-2026-44289
Downstream
Related
Published
2026-05-12T15:01:05Z
Modified
2026-05-14T20:50:00.108162Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
protobuf.js: Denial of service through unbounded protobuf recursion
Details

Summary

protobufjs could recurse without a depth limit while decoding nested protobuf data. This affected both skipping unknown group fields and generated decoding of nested message fields.

A crafted protobuf binary payload could cause the JavaScript call stack to be exhausted during decoding.

Impact

An attacker who can provide protobuf binary data decoded by an application may be able to crash the process or otherwise cause decoding to fail with a stack overflow.

This affects applications that decode untrusted protobuf binary input with affected versions.

Preconditions

  • The application must decode protobuf binary data influenced by an attacker.
  • The crafted input must contain deeply nested protobuf structures, such as nested group tags or nested message fields.
  • The affected decoder path must process the crafted input.

Workarounds

Avoid decoding untrusted protobuf binary data with affected versions. If immediate upgrade is not possible, reject excessively nested messages at an outer protocol boundary where feasible, or isolate protobuf decoding in a process that can be safely restarted.

Database specific
{
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-674"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-12T15:01:05Z",
    "nvd_published_at": "2026-05-13T16:16:55Z"
}
References

Affected packages

npm / protobufjs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-685m-2w69-288q/GHSA-685m-2w69-288q.json"
last_known_affected_version_range
"<= 7.5.5"

npm / protobufjs

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-685m-2w69-288q/GHSA-685m-2w69-288q.json"
last_known_affected_version_range
"<= 8.0.1"