GitHub Advisoryadvisory · PyPI
GHSA-9v8h-qqgm-4m35 Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
CRITICAL
Official page ↗
- Aliases
- CVE-2026-111497
- Ecosystem
- PyPI
- Packages
- brotli, brotlicffi
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-252
- Reviewed
- 2026-10-23
Affected packages
• PyPI brotli: >= 1.0.3, < 1.2.1 → fixed in 1.2.1
• PyPI brotlicffi: >= 1.0.3, < 1.2.1.0 → fixed in 1.2.1.0
Description
A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream.
Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.
Related
Alias · CVE (1)
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms… vulnerability
Weakness · CWE (1)
- CWE-252 Unchecked Return Value weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-111497 advisory
- https://github.com/dotnet/announcements/issues/494 web
- https://github.com/google/brotli/commit/da9806362874b9bd4b552a3af360b5d6347beb12 web
- https://github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b6 web
- https://github.com/google/brotli/commit/50a9b70a4d5e1443fc40927952276b68fffa83a0 web
- https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b web
- https://github.com/pypa/advisory-database/tree/main/vulns/brotlicffi/PYSEC-2026-4323.yaml web
- https://lists.debian.org/debian-lts-announce/2026/10/msg00049.html web
- https://nodejs.org/en/blog/vulnerability/october-2026-security-releases web
- 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 web
- https://opensourcemalware.com/blog/node2shell-affects-python web
- https://patchtheplanet.org/brotli web
- https://pypi.org/project/Brotli web
- https://pypi.org/project/brotlicffi web
- https://www.aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497 web
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497 web
- https://www.cve.org/CVERecord?id=CVE-2026-111497 web
- https://github.com/pypa/advisory-database/tree/main/vulns/brotli/PYSEC-2026-4322.yaml web
- https://github.com/google/brotli/releases/tag/v1.2.1 web
- https://github.com/google/brotli/releases/tag/v1.1.1 web
- https://github.com/google/brotli/releases/tag/v1.0.10 web
- https://github.com/google/brotli package
- https://github.com/andybalholm/brotli/releases/tag/v1.2.7 web
- https://github.com/advisories/GHSA-9v8h-qqgm-4m35 advisory
- https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds web
- https://cert-portal.siemens.com/productcert/html/ssa-898633.html web
- https://cert-portal.siemens.com/productcert/html/ssa-443410.html web
- https://cert-portal.siemens.com/productcert/html/ssa-045512.html web
- https://broccoli2shell.com web
- http://www.openwall.com/lists/oss-security/2026/10/23/25 web
- http://www.openwall.com/lists/oss-security/2026/10/24/6 web
- http://www.openwall.com/lists/oss-security/2026/10/26/12 web
- http://www.openwall.com/lists/oss-security/2026/10/26/13 web
- http://www.openwall.com/lists/oss-security/2026/10/26/16 web