Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-685m-2w69-288q

Опубликовано: 12 мая 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

protobuf.js: Denial of service through unbounded protobuf recursion

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.

Пакеты

Наименование

protobufjs

npm
Затронутые версииВерсия исправления

<= 7.5.5

7.5.6

Наименование

protobufjs

npm
Затронутые версииВерсия исправления

>= 8.0.0, <= 8.0.1

8.0.2

EPSS

Процентиль: 44%
0.0058
Низкий

7.5 High

CVSS3

Дефекты

CWE-674

Связанные уязвимости

CVSS3: 7.5
redhat
3 месяца назад

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, 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. This vulnerability is fixed in 7.5.6 and 8.0.2.

CVSS3: 7.5
nvd
3 месяца назад

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, 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. This vulnerability is fixed in 7.5.6 and 8.0.2.

CVSS3: 7.5
debian
3 месяца назад

protobufjs compiles protobuf definitions into JavaScript (JS) function ...

CVSS3: 7.5
fstec
3 месяца назад

Уязвимость декодера библиотеки для работы с протоколом Protocol Buffers (Protobuf) protobufjs, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 44%
0.0058
Низкий

7.5 High

CVSS3

Дефекты

CWE-674