GHSA-9v8h-qqgm-4m35
Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
brotlipipLibraries & packages
CVSS
9.2CriticalExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
What fixes it
- 1.2.1brotli, pipGitHub
- 1.2.1.0brotlicffi, pipGitHub
- 1.2.1brotli, PyPIOSV
pip install "brotli>=1.2.1" - 1.2.1.0brotlicffi, PyPIOSV
pip install "brotlicffi>=1.2.1.0"
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from GitHub Advisory Database
Affected versions 18
- brotli, pip>= 1.0.3, < 1.2.1GitHub
- brotlicffi, pip>= 1.0.3, < 1.2.1.0GitHub
- brotli, PyPIfrom 1.0.3, fixed in 1.2.1OSV
- brotli, PyPI1.0.4OSV
- brotli, PyPI1.0.6OSV
- brotli, PyPI1.0.7OSV
- brotli, PyPI1.0.8OSV
- brotli, PyPI1.0.9OSV
- brotli, PyPI1.1.0OSV
- brotli, PyPI1.2.0OSV
- brotlicffi, PyPIfrom 1.0.3, fixed in 1.2.1.0OSV
- brotlicffi, PyPI1.0.9.0OSV
- brotlicffi, PyPI1.0.9.1OSV
- brotlicffi, PyPI1.0.9.2OSV
- brotlicffi, PyPI1.1.0.0OSV
- brotlicffi, PyPI1.2.0.0OSV
- brotlicffi, PyPI1.2.0.1OSV
- brotlicffi, PyPI1.2.0.2OSV
References 17
- github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2bFixvia GitHub
- github.com/google/brotli/commit/50a9b70a4d5e1443fc40927952276b68fffa83a0Fixvia GitHub
- github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b6Fixvia GitHub
- github.com/google/brotli/commit/da9806362874b9bd4b552a3af360b5d6347beb12Fixvia GitHub
- github.com/google/brotli/releases/tag/v1.0.10Fixvia GitHub
- github.com/google/brotli/releases/tag/v1.1.1Fixvia GitHub
- github.com/google/brotli/releases/tag/v1.2.1Fixvia GitHub
- nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---highAdvisoryvia GitHub
- github.com/pypa/advisory-database/tree/main/vulns/brotli/PYSEC-2026-4322.yamlAdvisoryvia GitHub
- github.com/pypa/advisory-database/tree/main/vulns/brotlicffi/PYSEC-2026-4323.yamlAdvisoryvia GitHub
- nodejs.org/en/blog/vulnerability/october-2026-security-releasesAdvisoryvia GitHub
- github.com/advisories/GHSA-9v8h-qqgm-4m35Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-111497Referencevia GitHub
- opensourcemalware.com/blog/node2shell-affects-pythonReferencevia GitHub
- pypi.org/project/BrotliReferencevia GitHub
- pypi.org/project/brotlicffiReferencevia GitHub
- cve.org/CVERecord?id=CVE-2026-111497Referencevia GitHub