Buffer overflow in Google Brotli
CVE-2020-8927
A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your Brotli library to 1.0.8 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.033, 88.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Google Brotli
- Google Llc Brotli — versions stable
- Microsoft .Net
- Microsoft .Net Core
- Microsoft Powershell
- Microsoft Visual Studio 2019
- Microsoft Visual Studio 2022 — versions 17.1
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 31, 32, 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- federiconbaez/cortex9-brotli-uncompressed-copy-narrowing-model (last pushed 2026-11-09): Offline arithmetic model of the size_t-to-int narrowing in Brotli's uncompressed block copy (CVE-2020-8927). Arithmetic only: no input read, nothing decompressed.
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, dcambronero/CloudGuard-ShiftLeft-CICD-AWS, jaydenaung/CloudGuard-ShiftLeft-CICD-AWS, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/google/brotli/releases/tag/v1.0.9 (Third Party Advisory, Release Notes)
- openSUSE-SU-2020:1578 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2020-22d278923a (vendor-advisory)
- USN-4568-1 (vendor-advisory, Third Party Advisory)
- FEDORA-2020-c663fbc46c (vendor-advisory)
- FEDORA-2020-e21bd401ad (vendor-advisory)
- FEDORA-2020-bc9a739f0c (vendor-advisory)
- FEDORA-2020-9336b65f82 (vendor-advisory)
- FEDORA-2020-c76a35b209 (vendor-advisory)
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2476-1] brotli security update (mailing-list, Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.