Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-45740 EUVD-2026-30039GHSA-jggg-4jg4-v7c6

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

Published May 13, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.8 and 8.2.0, protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON(). A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. This vulnerability is fixed in 7.5.8 and 8.2.0.

Affected products

VendorProductAffectedFixed
protobufjs protobuf.js < 7.5.8, >= 8.0.0, < 8.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 10 rh-podman-desktop 1.1.2-1.el10_2 RHSA-2026:57590

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r24 —
Wolfi rolling langfuse-3 +1 3.175.0-r0 —
Wolfi rolling pulumi-language-nodejs 3.243.0-r2 —
Wolfi rolling renovate 43.170.15-r2 —
Wolfi rolling vitess-23 23.0.4-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm protobufjs < 7.5.8 7.5.8 GHSA-jggg-4jg4-v7c6
npm protobufjs >= 8.0.0, < 8.2.0 8.2.0 GHSA-jggg-4jg4-v7c6

Advisories 2

References