unstale

npm / protobufjs

protobufjs

What changed in protobufjs 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

16 security1 new APIs and options5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

protobufjs 822 changes

Security 16

  • Overflowing length prefixes are now rejected.

    8.8.1release notes

  • Parsing for ProtoJSON and Text Format has been hardened.

    8.8.0release notes

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

    7.6.5, 8.6.6security advisory

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

    8.6.5security advisory

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

    7.6.3, 8.6.0security advisory

  • protobufjs: Memory amplification from preserved unknown fields in binary decode

    8.5.0security advisory

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

    7.6.1, 8.4.1security advisory

  • protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

    7.5.8, 8.2.0security advisory

  • protobuf.js: Code generation gadget after prototype pollution

    7.5.6, 8.0.2security advisory

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

    7.5.6, 8.0.2security advisory

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

    7.5.6, 8.0.2security advisory

  • protobuf.js: Denial of service through unbounded protobuf recursion

    7.5.6, 8.0.2security advisory

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

    7.5.6, 8.0.2security advisory

  • protobuf.js: Prototype injection in generated message constructors

    7.5.6, 8.0.2security advisory

  • protobufjs has overlong UTF-8 decoding

    7.5.6, 8.0.2security advisory

  • Arbitrary code execution in protobufjs

    7.5.5, 8.0.1security advisory

New APIs and options 1

Fixes and other changes 5