Intel

AIKIDO-2026-53274

libjxl is vulnerable to Out-of-bounds Write

CVE-2026-111497Published Oct 23, 2026
October 23, 2026

95

CVE Score

Critical

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

Every libjxl release from 0.1.0 through 0.12.0 (and main) bundles Google Brotli as a git submodule in third_party/brotli, pinned to a commit that contains the vulnerable decoder (v0.12.0 and main pin Brotli 1.2.0). In c/dec/decode.c, DecodeBlockTypeAndLength returns a plain failure when a stream declares only one block type, and its callers ignore it, so decoding continues with stale state and writes outside the decoder's buffers. A crafted Brotli stream can crash the process, disclose memory, corrupt data, or potentially lead to arbitrary code execution. libjxl passes untrusted data to this decoder when it reads Brotli-compressed parts of a JPEG XL file, such as brob metadata boxes and JPEG reconstruction data. No libjxl release contains a patched Brotli yet.

How do I fix this?

No patched libjxl release is available yet. Rebuild libjxl with the third_party/brotli submodule updated to a patched Brotli release (1.0.10, 1.1.1 or 1.2.1), or link against a patched system Brotli, and upgrade libjxl once a release containing the updated submodule is published.

Who does this affect?

You are affected if you use a libjxl version that falls within the vulnerable range, built with the bundled third_party/brotli submodule, and you process JPEG XL files from untrusted sources. Builds linked against a system Brotli are affected only if that Brotli is between 1.0.3 and 1.2.0 (patched in 1.0.10, 1.1.1 or 1.2.1).

Package

libjxl

Versions

0.1.0 - 0.12.0

No fix available

Background info

libjxl is vulnerable to Out-of-bounds Write in versions 0.1.0 - 0.12.0.

Links

Other

nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---high
https://nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---high
openwall.com/lists/oss-security/2026/10/23/25
http://www.openwall.com/lists/oss-security/2026/10/23/25
openwall.com/lists/oss-security/2026/10/24/6
http://www.openwall.com/lists/oss-security/2026/10/24/6
openwall.com/lists/oss-security/2026/10/26/12
http://www.openwall.com/lists/oss-security/2026/10/26/12
openwall.com/lists/oss-security/2026/10/26/13
http://www.openwall.com/lists/oss-security/2026/10/26/13
openwall.com/lists/oss-security/2026/10/26/16
http://www.openwall.com/lists/oss-security/2026/10/26/16
openwall.com/lists/oss-security/2026/11/03/2
http://www.openwall.com/lists/oss-security/2026/11/03/2
broccoli2shell.com
https://broccoli2shell.com
lists.debian.org/debian-lts-announce/2026/10/msg00049.html
https://lists.debian.org/debian-lts-announce/2026/10/msg00049.html
patchtheplanet.org/brotli
https://patchtheplanet.org/brotli
aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497
https://www.aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497
cert-portal.siemens.com/productcert/html/ssa-045512.html
https://cert-portal.siemens.com/productcert/html/ssa-045512.html
cert-portal.siemens.com/productcert/html/ssa-443410.html
https://cert-portal.siemens.com/productcert/html/ssa-443410.html
cert-portal.siemens.com/productcert/html/ssa-898633.html
https://cert-portal.siemens.com/productcert/html/ssa-898633.html
ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/
https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea