logo

Database

Out-of-bounds read In github.com/andybalholm/brotli

Description

Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli In github.com/andybalholm/brotli before v1.2.7, the decompressor allocates memory for Huffman tables and block-type trees on every meta-block header without bounding the cumulative allocations relative to the input size. A small crafted brotli stream containing many empty meta-blocks with new Huffman trees can trigger hundreds of megabytes of allocations per kilobyte of input, leading to denial of service.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Component
Affected version
Patched versions

1-10 of 47

10

References

1. https://github.com/dotnet/announcements/issues/4942. https://github.com/google/brotli/commit/da9806362874b9bd4b552a3af360b5d6347beb123. https://github.com/google/brotli/commit/b418fa81c48262a86a95332b0bc6d62c30aa78b64. https://github.com/google/brotli/commit/50a9b70a4d5e1443fc40927952276b68fffa83a05. https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b6. https://github.com/pypa/advisory-database/tree/main/vulns/brotlicffi/PYSEC-2026-4323.yaml7. https://nodejs.org/en/blog/vulnerability/october-2026-security-releases8. https://nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---high9. https://opensourcemalware.com/blog/node2shell-affects-python10. https://patchtheplanet.org/brotli11. https://pypi.org/project/Brotli12. https://pypi.org/project/brotlicffi13. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-11149714. https://www.cve.org/CVERecord?id=CVE-2026-11149715. https://github.com/pypa/advisory-database/tree/main/vulns/brotli/PYSEC-2026-4322.yaml16. https://github.com/google/brotli/releases/tag/v1.2.117. https://github.com/google/brotli/releases/tag/v1.1.118. https://github.com/google/brotli/releases/tag/v1.0.1019. https://github.com/andybalholm/brotli/releases/tag/v1.2.720. https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds21. https://cert-portal.siemens.com/productcert/html/ssa-898633.html22. https://cert-portal.siemens.com/productcert/html/ssa-443410.html23. https://cert-portal.siemens.com/productcert/html/ssa-045512.html24. https://broccoli2shell.com25. http://www.openwall.com/lists/oss-security/2026/10/23/2526. http://www.openwall.com/lists/oss-security/2026/10/24/627. http://www.openwall.com/lists/oss-security/2026/10/26/1228. http://www.openwall.com/lists/oss-security/2026/10/26/1329. http://www.openwall.com/lists/oss-security/2026/10/26/1630. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/javascript/cves/2026/CVE-2026-111497.yaml31. https://github.com/CaterMaoZi/CVE-2026-111497-POC32. http://www.openwall.com/lists/oss-security/2026/11/03/233. https://github.com/yjh0502/erl-brotli/issues/2334. https://cna.erlef.org/cves/CVE-2026-111497.html35. https://github.com/yjh0502/erl-brotli/releases/tag/v0.3.436. https://github.com/yjh0502/erl-brotli/commit/1e2af9bebba40ee292abf51e19ac831c2658ca4737. https://github.com/yjh0502/erl-brotli/commit/7498e1c743c71a99636e8f897b6b016433830d6d38. https://github.com/andybalholm/brotli/commit/33c2a9884269798192b5ecf171288f98939dbe42
FLAT-Z7JRI – Vulnerability | Fluid Attacks Database