Vulnerability
CVE-2026-41242
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1, 7.5.5, and 6.11.6 patch the issue.
101 advisories report this vulnerability, across 4 ecosystems.
Advisories in Chainguard
- CGA-2j3h-pj7x-jhjc
- CGA-3m5j-g5qx-5484
- CGA-3r9v-8hr8-9rqf
- CGA-3rw3-wgg4-7grf
- CGA-4mqr-7w77-jmmc
- CGA-4vq3-r6qv-hpf9
- CGA-4xw2-6x7p-v6vg
- CGA-536c-pg2q-6fxq
- CGA-53vx-j8v7-rccq
- CGA-5gw6-72qh-j42g
- CGA-5pwm-hjq6-c83m
- CGA-5r3x-mf4g-fjwr
- CGA-5vfr-5w5x-rhxj
- CGA-5vrf-pj82-c35q
- CGA-5vwg-x6h7-ppcr
- CGA-654g-53m6-jwhr
- CGA-6642-3xpj-v99j
- CGA-6fvr-2ccr-4cp6
- CGA-6mrj-r3rm-2g2f
- CGA-6qw9-8hr4-r8qq
- CGA-75cm-wx3x-xr2f
- CGA-75ww-3ph5-mp69
- CGA-76g9-r6v4-6jm6
- CGA-78rc-wxg3-pq29
- CGA-79fm-w7ff-ffpf
- CGA-7pwr-pq4m-2jv4
- CGA-7qgc-vxjc-px7r
- CGA-7v32-6h8j-46h4
- CGA-7vcw-mc3c-xx8h
- CGA-7w74-99xg-929m
- CGA-7wxm-fh69-83gc
- CGA-86p8-j52w-pjp2
- CGA-87jh-32c7-8wjh
- CGA-8wfr-j46w-rm4p
- CGA-9463-6rp7-4pmf
- CGA-96cg-pw58-cxc8
- CGA-9q8h-4hjf-w5pg
- CGA-chgq-c2j3-25r6
- CGA-cjwq-4wqc-mcq5
- CGA-f4c7-6m66-x7ff
- CGA-f53r-vwm7-5prx
- CGA-f88p-wmm6-fj4g
- CGA-f9x5-ffrf-h32r
- CGA-ff8j-275c-r2jc
- CGA-fjx7-jv76-vcrh
- CGA-fr7x-9cgc-mx2q
- CGA-fw6q-qcv8-5q8j
- CGA-g5vp-c4jh-wfwf
- CGA-ggxq-2pqx-mr6x
- CGA-gvw7-prfg-63cr
- CGA-h3cv-wr74-x78j
- CGA-h8mp-3v6v-27p6
- CGA-hf52-rf9h-v3jr
- CGA-hw3x-67p3-35mq
- CGA-j2p4-p346-8jmw
- CGA-j2vg-9xwc-37rq
- CGA-j475-8q44-x7px
- CGA-j6gf-h4gw-5wqm
- CGA-jw5p-2qjw-78cj
- CGA-m3c4-5w8r-gv6g
- CGA-m8x9-2qxj-r5v3
- CGA-m97x-j894-745j
- CGA-mhmq-6369-fpv7
- CGA-mwpf-92wm-r94j
- CGA-pp4f-j345-q8r4
- CGA-ppg9-5ff9-4pq4
- CGA-pr8q-x3cx-9894
- CGA-pwh5-9hw5-hc2c
- CGA-q53r-4jw7-q48q
- CGA-q67j-w5m8-6x75
- CGA-q694-5hmh-6x7p
- CGA-q9p2-7422-8xm3
- CGA-q9x5-6w8q-6x5r
- CGA-qg33-2gcr-jqr6
- CGA-qg4p-jm8v-296v
- CGA-qrf5-g49p-vvmw
- CGA-qv7j-3m7x-wx9x
- CGA-qw73-px4c-xmw2
- CGA-r74q-vg69-x3cf
- CGA-rc32-873x-6hr2
- CGA-rhp8-j5j8-3rg9
- CGA-rqwh-qhjf-22q4
- CGA-v3j5-48m6-fj58
- CGA-v49x-p2cx-6j5h
- CGA-v5px-6qv8-x7wv
- CGA-vf8p-rj6v-9x23
- CGA-vm9x-4568-pm2m
- CGA-w34g-mm48-j5hq
- CGA-w3fp-332f-w5r6
- CGA-wjr9-95mv-v8g4
- CGA-wjx6-m6fq-h98f
- CGA-wxqx-4fmg-5x3v
- CGA-x253-w373-52gv
- CGA-x63m-6rww-c5mj
- CGA-xm96-r337-89jp
- CGA-xp52-qf3f-gg27
- CGA-xpx3-3c47-cc3x
- CGA-xqc5-86w4-rhg8
- CGA-xqx2-xrqw-j88r
References
- https://access.redhat.com/errata/RHSA-2026:21338
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:26234
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:62260
- https://access.redhat.com/security/cve/CVE-2026-41242
- https://bugzilla.redhat.com/show_bug.cgi?id=2459442
- https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf
- https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
- https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg
- https://github.com/protobufjs/protobuf.js/tree/v6.11.6
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json