Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
CVE-2026-111497 ("Node2Shell") is an out-of-bounds write (CWE-787) in Google's Brotli decoder (c/dec/decode.c). DecodeBlockTypeAndLength() returns an ambiguous value for an invalid block switch, and the fast decode path discards it (CWE-252, unchecked return value), so a crafted Brotli stream makes the decoder continue on corrupted state and write past the ring buffer. Upstream rates it CVSS 4.0 9.2 and classifies the impact as potential remote code execution.
The vulnerability is in Google's C library, not in Node.js specifically. The
PyPI Brotli package is Google's CPython binding and compiles the same
c/dec/decode.c that has the actual vulnerability. All Brotli releases up to
and including 1.2.0 ship the vulnerable decoder; 1.2.1 contains the upstream
fix (commit 0ed4268a) and differs from 1.2.0 only in that fix plus a version
bump.
The decoder is reached whenever untrusted Brotli data is decompressed. With
Brotli installed, common HTTP clients decode Brotli responses automatically
(urllib3/requests, httpx with the brotli extra, aiohttp) and services that
accept Content-Encoding: br request bodies decode inbound data, so the flaw
is reachable from attacker-controlled input.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | brotli | < 1.2.1 | 1.2.1 |
| Python (PyPI) | brotlicffi | < 1.2.1.0 | 1.2.1.0 |
Odnośniki
- https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b
- https://www.cve.org/CVERecord?id=CVE-2026-111497
- https://opensourcemalware.com/blog/node2shell-affects-python
- https://nodejs.org/en/blog/vulnerability/october-2026-security-releases
- https://github.com/google/brotli/releases/tag/v1.2.1
- https://pypi.org/project/brotlicffi/
- https://pypi.org/project/Brotli/
- Wektor CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Słabość (CWE)
-- Platforma
- Python (PyPI)
- Paczka
brotli, brotlicffi- Ujawniono
- 23.10.2026
- Aktualizacja
- 23.10.2026 16:17
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-4323 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-4322 - PyPA Advisory Database; CC BY 4.0
Historia podatności: brotli
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 3
- Pierwsza → ostatnia
- 09.2020 10.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 1
- Średnia 1
- Nieoceniona 1
Ujawnienia w latach
- 2020: 1
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 1
-
Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.