CVE-2026-111497 — Brotli: Out-of-bounds write in brotlicffi
Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected brotlicffi version?
Paste your requirements.txt to check it for CVE-2026-111497 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published October 22, 2026 (35 days ago).
- Last revised November 5, 2026 — 14 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 4 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "brotlicffi>=1.2.1.0"
pip install "brotli>=1.2.1"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: PyPI (2).
| Package | Fixed In |
|---|---|
| brotlicffi PyPI · Affected: 1.0.9.0, 1.0.9.1, 1.0.9.2, 1.1.0.0 (+3 more) | 1.2.1.0 |
| brotli PyPI · Affected: 1.0.4, 1.0.6, 1.0.7, 1.0.8 (+3 more) | 1.2.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-252
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-111497ADVISORY
- https://github.com/dotnet/announcements/issues/494WEB
- https://github.com/google/brotli/commit/da9806362874b9bd4b552a3af360b5d6347beb12WEB
- https://github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b6WEB
- https://github.com/google/brotli/commit/50a9b70a4d5e1443fc40927952276b68fffa83a0WEB
- https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2bWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/brotlicffi/PYSEC-2026-4323.yamlWEB
- https://lists.debian.org/debian-lts-announce/2026/10/msg00049.htmlWEB
- https://nodejs.org/en/blog/vulnerability/october-2026-security-releasesWEB
- https://nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---highWEB
- https://opensourcemalware.com/blog/node2shell-affects-pythonWEB
- https://patchtheplanet.org/brotliWEB
- https://pypi.org/project/BrotliWEB
- https://pypi.org/project/brotlicffiWEB
- https://www.aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497WEB
- https://www.cve.org/CVERecord?id=CVE-2026-111497WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/brotli/PYSEC-2026-4322.yamlWEB
- https://github.com/google/brotli/releases/tag/v1.2.1WEB
- https://github.com/google/brotli/releases/tag/v1.1.1WEB
- https://github.com/google/brotli/releases/tag/v1.0.10WEB
- https://github.com/google/brotliPACKAGE
- https://github.com/andybalholm/brotli/releases/tag/v1.2.7WEB
- https://github.com/advisories/GHSA-9v8h-qqgm-4m35ADVISORY
- https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-buildsWEB
- https://cert-portal.siemens.com/productcert/html/ssa-898633.htmlWEB
- https://cert-portal.siemens.com/productcert/html/ssa-443410.htmlWEB
- https://cert-portal.siemens.com/productcert/html/ssa-045512.htmlWEB
- https://broccoli2shell.comWEB
- https://www.openwall.com/lists/oss-security/2026/10/23/25WEB
- https://www.openwall.com/lists/oss-security/2026/10/24/6WEB
- https://www.openwall.com/lists/oss-security/2026/10/26/12WEB
- https://www.openwall.com/lists/oss-security/2026/10/26/13WEB
- https://www.openwall.com/lists/oss-security/2026/10/26/16WEB
Frequently Asked Questions
- What is CVE-2026-111497?
- Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-111497?
- CVE-2026-111497 affects brotlicffi and brotli. It has a 33.0% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-111497 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 98.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: October 27, 2026
Remediation deadline: November 10, 2026
Also Known As
Related CVEs
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)
- CVE-2025-6176HIGH
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
- CVE-2025-6176HIGH
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
- CVE-2020-8927MEDIUM
Integer overflow in the bundled Brotli C library