What’s Vulnerable › Vulnerabilities
CVE-2020-8927: Buffer overflow in Brotli library
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-15 · updated 2026-06-17
- Weakness: CWE-130
Description
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.
Affected products
- Canonical Ubuntu Linux: 16.04, 18.04, 20.04
- Debian Linux: 9.0, 10.0
- Fedoraproject Fedora: 31, 32, 33, 34, 35, 36
- Google Brotli: before 1.0.8 — fixed in 1.0.8
- Microsoft .NET: from 5.0 through 5.0.14
- Microsoft Corporation .NET Core: from 3.1 through 3.1.22
- Microsoft Powershell: from 7.0 before 7.0.9; from 7.1 before 7.1.6; from 7.2 before 7.2.2 — fixed in 7.0.9, 7.1.6, 7.2.2
- Microsoft Visual Studio 2019: from 16.0 through 16.11
- Microsoft Visual Studio 2022 version 17.14: from 17.0 through 17.0.7; 17.1
- openSUSE Leap: 15.2
- Google Brotli: from stable through 1.0.7
How to fix
Upgrade to a fixed version: Google Brotli 1.0.8; Microsoft Powershell 7.0.9, 7.1.6, 7.2.2. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00108.html
- https://github.com/google/brotli/releases/tag/v1.0.9
- https://lists.debian.org/debian-lts-announce/2020/12/msg00003.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/356JOYTWW4BWSZ42SEFLV7NYHL3S3AEH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TOGTZ2ZWDH662ZNFFSZVL3M5AJXV6JF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4E265WKWKYMK2RYYSIXBEGZTDY5IQE6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M4VCDOJGL6BK3HB4XRD2WETBPYX2ITF6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBKACMLSRX7JJSKBTR35UOEP2WFR6QP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQLM7ABVCYJLF6JRPF3M3EBXW63GNC27/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W23CUADGMVMQQNFKHPHXVP7RPZJZNN6I/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WW62OZEY2GHJL4JCOLJRBSRETXDHMWRK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXEQ3GQVELA2T4HNZG7VPMS2HDVXMJRG/
Get alerted when CVE-2020-8927 or the next vulnerability affects your stack