protobufjs vulnerabilities

Protocol Buffers for JavaScript & TypeScript.

Registry
npm
Latest
8.8.1
License
BSD-3-Clause

17 known advisories

The latest version, 8.8.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install protobufjs@8.8.1

Security advisories for protobufjs

  • MediumGHSA-jfj6-75fj-893420 Jul 2026

    protobufjs: Text Format string map parsing can mutate returned map object prototype

    Affected
    >=8.2.0 <8.6.5
    Fixed in
    8.6.5
  • MediumGHSA-j3f2-48v5-ccww20 Jul 2026

    protobufjs: Denial of Service via infinite loop in .proto option parsing

    Affected
    >=7.5.0 <7.6.5 · >=8.0.0 <8.6.6
    Fixed in
    7.6.5, 8.6.6
  • MediumGHSA-94rc-8x27-447215 Jun 2026

    protobufjs: Memory amplification from preserved unknown fields in binary decode

    Affected
    >=8.2.0 <8.5.0
    Fixed in
    8.5.0
  • HighGHSA-wcpc-wj8m-hjx615 Jun 2026

    protobufjs: Denial of service through unbounded Any expansion during JSON conversion

    Affected
    <7.6.1 · >=8.0.0 <8.4.1
    Fixed in
    7.6.1, 8.4.1
  • MediumGHSA-f38q-mgvj-vph715 Jun 2026

    protobufjs : Schema-derived names can shadow runtime-significant properties

    Affected
    <7.6.3 · >=8.0.0 <8.6.0
    Fixed in
    7.6.3, 8.6.0
  • MediumGHSA-jggg-4jg4-v7c619 May 2026

    protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

    Affected
    <7.5.8 · >=8.0.0 <8.2.0
    Fixed in
    7.5.8, 8.2.0
  • MediumGHSA-2pr8-phx7-x9h312 May 2026

    protobuf.js: Denial of service from crafted field names in generated code

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • HighGHSA-66ff-xgx4-vchm12 May 2026

    protobuf.js: Code injection through bytes field defaults in generated toObject code

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • MediumGHSA-fx83-v9x8-x52w12 May 2026

    protobuf.js: Prototype injection in generated message constructors

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • HighGHSA-75px-5xx7-5xc712 May 2026

    protobuf.js: Code generation gadget after prototype pollution

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • HighGHSA-jvwf-75h9-cwgg12 May 2026

    protobuf.js: Process-wide denial of service through unsafe option paths

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • HighGHSA-685m-2w69-288q12 May 2026

    protobuf.js: Denial of service through unbounded protobuf recursion

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • MediumGHSA-q6x5-8v7m-xcrf12 May 2026

    protobufjs has overlong UTF-8 decoding

    Affected
    <7.5.6 · >=8.0.0 <8.0.2
    Fixed in
    7.5.6, 8.0.2
  • CriticalGHSA-xq3m-2v4x-88gg16 Apr 2026

    Arbitrary code execution in protobufjs

    Affected
    >=8.0.0 <8.0.1 · <7.5.5
    Fixed in
    7.5.5, 8.0.1
  • CriticalGHSA-h755-8qp9-cq855 Jul 2023

    protobufjs Prototype Pollution vulnerability

    Affected
    >=7.0.0 <7.2.5 · >=6.10.0 <6.11.4
    Fixed in
    6.11.4, 7.2.5
  • HighGHSA-g954-5hwp-pp2428 May 2022

    Prototype Pollution in protobufjs

    Affected
    >=6.11.0 <6.11.3 · >=6.10.0 <6.10.3
    Fixed in
    6.10.3, 6.11.3
  • MediumGHSA-762f-c2wg-m8c89 Oct 2018

    Denial of Service in protobufjs

    Affected
    >=6.0.0 <6.8.6 · <5.0.3
    Fixed in
    5.0.3, 6.8.6

Which of your client projects still run an old protobufjs?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.