{"schema":"threatline.record/2","record":{"id":"GHSA-9v8h-qqgm-4m35","aliases":["GHSA-9v8h-qqgm-4m35"],"summary":"Brotli: Out-of-bounds write in the Brotli decoder (\"Node2Shell\") also affects the PyPI Brotli package","details":"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.\n\nUsers 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.","categories":["Libraries & packages"],"product":"brotli","vendor":"","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:08:11Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"pip","name":"brotli"},"range":">= 1.0.3, < 1.2.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:08:11Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"pip","name":"brotlicffi"},"range":">= 1.0.3, < 1.2.1.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:15:07.942958649Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"name":"brotli","ecosystem":"PyPI","purl":"pkg:pypi/brotli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.3"},{"fixed":"1.2.1"}]}],"versions":["1.0.4","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.0"]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:15:07.942958649Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"name":"brotlicffi","ecosystem":"PyPI","purl":"pkg:pypi/brotlicffi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.3"},{"fixed":"1.2.1.0"}]}],"versions":["1.0.9.0","1.0.9.1","1.0.9.2","1.1.0.0","1.2.0.0","1.2.0.1","1.2.0.2"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:08:11Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"pip","name":"brotli"},"version":"1.2.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:08:11Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"pip","name":"brotlicffi"},"version":"1.2.1.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:15:07.942958649Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"name":"brotli","ecosystem":"PyPI","purl":"pkg:pypi/brotli"},"version":"1.2.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-9v8h-qqgm-4m35","source_modified_at":"2026-10-23T19:15:07.942958649Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"name":"brotlicffi","ecosystem":"PyPI","purl":"pkg:pypi/brotlicffi"},"version":"1.2.1.0"}],"cvss":9.2,"severity":"Critical","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-22T15:32:49Z","modified_at":"2026-10-23T19:15:07.942958649Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","fetched_at":"2026-10-23T19:58:35.668311Z","source_modified_at":"2026-10-23T19:08:11Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-9v8h-qqgm-4m35","fetched_at":"2026-10-23T19:58:35.668311Z","source_modified_at":"2026-10-23T19:15:07.942958649Z"}],"sources":["GitHub Advisory Database","OSV"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111497","source":"GitHub Advisory Database"},{"url":"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","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/commit/50a9b70a4d5e1443fc40927952276b68fffa83a0","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b6","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/commit/da9806362874b9bd4b552a3af360b5d6347beb12","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/releases/tag/v1.0.10","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/releases/tag/v1.1.1","source":"GitHub Advisory Database"},{"url":"https://github.com/google/brotli/releases/tag/v1.2.1","source":"GitHub Advisory Database"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/brotli/PYSEC-2026-4322.yaml","source":"GitHub Advisory Database"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/brotlicffi/PYSEC-2026-4323.yaml","source":"GitHub Advisory Database"},{"url":"https://nodejs.org/en/blog/vulnerability/october-2026-security-releases","source":"GitHub Advisory Database"},{"url":"https://opensourcemalware.com/blog/node2shell-affects-python","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/Brotli","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/brotlicffi","source":"GitHub Advisory Database"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111497","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-9v8h-qqgm-4m35","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T19:15:07.942958649Z","content_hash":"08c46d4c09ad2d7fe2a0d7a7cac5b1829a757080572238b3a06c01af80e11180"}}
