CVE-2020-8927Buffer overflow in Brotli library
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.
Go, crates.io have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | brotli | Fixed | 1.0.7-6ubuntu0.1 | UBUNTU-CVE-2020-8927 |
| Ubuntu 18.04 | brotli | Fixed | 1.0.3-1ubuntu1.3 | UBUNTU-CVE-2020-8927 |
| Ubuntu 16.04 | brotli | Fixed | 1.0.3-1ubuntu1~16.04.2 | UBUNTU-CVE-2020-8927 |
| Debian 14 | brotli | Fixed | 1.0.9-1 | DEBIAN-CVE-2020-8927 |
| Debian 13 | brotli | Fixed | 1.0.9-1 | DEBIAN-CVE-2020-8927 |
| Debian 12 | brotli | Fixed | 1.0.9-1 | DEBIAN-CVE-2020-8927 |
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | brotli | Fixed | 0:1.0.6-3.el8 | RHSA-2021:1702 |
| Red Hat Enterprise Linux 8 | brotli-devel | Fixed | 0:1.0.6-3.el8 | RHSA-2021:1702 |
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-runtime-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-runtime-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1 | Fixed | 0:3.1.417-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1-source-built-artifacts | Fixed | 0:3.1.417-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-5.0 | Fixed | 0:5.0.212-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-5.0-source-built-artifacts | Fixed | 0:5.0.212-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-3.1 | Fixed | 0:3.1.23-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-5.0 | Fixed | 0:5.0.15-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet-templates-3.1 | Fixed | 0:3.1.417-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet-templates-5.0 | Fixed | 0:5.0.212-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | dotnet3.1 | Fixed | 0:3.1.417-1.el8_5 | RHSA-2022:0827 |
| Red Hat Enterprise Linux 8 | dotnet5.0 | Fixed | 0:5.0.212-1.el8_5 | RHSA-2022:0830 |
| Red Hat Enterprise Linux 8 | python3-brotli | Fixed | 0:1.0.6-3.el8 | RHSA-2021:1702 |
| AlmaLinux 8 | aspnetcore-runtime-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | aspnetcore-runtime-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | aspnetcore-targeting-pack-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | aspnetcore-targeting-pack-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | brotli | Fixed | 1.0.6-3.el8 | ALSA-2021:1702 |
| AlmaLinux 8 | brotli-devel | Fixed | 1.0.6-3.el8 | ALSA-2021:1702 |
| AlmaLinux 8 | dotnet-apphost-pack-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-apphost-pack-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-hostfxr-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-hostfxr-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-runtime-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-runtime-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-sdk-3.1 | Fixed | 3.1.417-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-sdk-3.1-source-built-artifacts | Fixed | 3.1.417-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-sdk-5.0 | Fixed | 5.0.212-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-sdk-5.0-source-built-artifacts | Fixed | 5.0.212-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-targeting-pack-3.1 | Fixed | 3.1.23-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-targeting-pack-5.0 | Fixed | 5.0.15-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | dotnet-templates-3.1 | Fixed | 3.1.417-1.el8_5 | ALSA-2022:0827 |
| AlmaLinux 8 | dotnet-templates-5.0 | Fixed | 5.0.212-1.el8_5 | ALSA-2022:0830 |
| AlmaLinux 8 | python3-brotli | Fixed | 1.0.6-3.el8 | ALSA-2021:1702 |
| Rocky Linux 8 | brotli | Fixed | 0:1.0.6-3.el8 | RLSA-2021:1702 |
| Rocky Linux 8 | dotnet3.1 | Fixed | 0:3.1.417-1.el8_5 | RLSA-2022:0827 |
| Rocky Linux 8 | dotnet5.0 | Fixed | 0:5.0.212-1.el8_5 | RLSA-2022:0830 |
| Alpine Linux 3.24 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.23 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.22 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.21 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.20 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.19 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.18 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.17 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.16 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.15 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.14 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.13 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| Alpine Linux 3.12 | brotli | Fixed | 1.0.9-r0 | ALPINE-CVE-2020-8927 |
| PyPI library | brotli | Fixed | 1.0.8 | GHSA-5v8v-66v8-mwm7 |
| crates.io library | brotli-sys | Fix pending | RUSTSEC-2021-0131 | |
| crates.io library | compu-brotli-sys | Fixed | 1.0.9 | GHSA-5v8v-66v8-mwm7 |
| Go library | github.com/google/brotli | Fix pending | GO-2025-3726 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Google LLC Brotli: affected: stable to 1.0.7
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00108.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://usn.ubuntu.com/4568-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/google/brotli/releases/tag/v1.0.9
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00108.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBKACMLSRX7JJSKBTR35UOEP2WFR6QP/
- https://usn.ubuntu.com/4568-1/
- 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/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/W23CUADGMVMQQNFKHPHXVP7RPZJZNN6I/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/356JOYTWW4BWSZ42SEFLV7NYHL3S3AEH/
- https://lists.debian.org/debian-lts-announce/2020/12/msg00003.html
- https://www.debian.org/security/2020/dsa-4801
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXEQ3GQVELA2T4HNZG7VPMS2HDVXMJRG/
- 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/4TOGTZ2ZWDH662ZNFFSZVL3M5AJXV6JF/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.