CVEfocus › CVE database › CVE-2020-8927

CVE-2020-8927Buffer overflow in Brotli library

CVSS 5.3 MediumEPSS 3.3% (higher than 89% of CVEs)Published 2020-09-15Updated 2026-05-29Assigner: Google

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.

CWE-130

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

68Fixed
2Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04brotliFixed1.0.7-6ubuntu0.1UBUNTU-CVE-2020-8927
Ubuntu 18.04brotliFixed1.0.3-1ubuntu1.3UBUNTU-CVE-2020-8927
Ubuntu 16.04brotliFixed1.0.3-1ubuntu1~16.04.2UBUNTU-CVE-2020-8927
Debian 14brotliFixed1.0.9-1DEBIAN-CVE-2020-8927
Debian 13brotliFixed1.0.9-1DEBIAN-CVE-2020-8927
Debian 12brotliFixed1.0.9-1DEBIAN-CVE-2020-8927
Red Hat Enterprise Linux 8aspnetcore-runtime-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8aspnetcore-runtime-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8brotliFixed0:1.0.6-3.el8RHSA-2021:1702
Red Hat Enterprise Linux 8brotli-develFixed0:1.0.6-3.el8RHSA-2021:1702
Red Hat Enterprise Linux 8dotnet-apphost-pack-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-apphost-pack-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-hostfxr-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-hostfxr-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-runtime-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-runtime-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-sdk-3.1Fixed0:3.1.417-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-sdk-3.1-source-built-artifactsFixed0:3.1.417-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-sdk-5.0Fixed0:5.0.212-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-sdk-5.0-source-built-artifactsFixed0:5.0.212-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-targeting-pack-3.1Fixed0:3.1.23-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-targeting-pack-5.0Fixed0:5.0.15-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet-templates-3.1Fixed0:3.1.417-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet-templates-5.0Fixed0:5.0.212-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8dotnet3.1Fixed0:3.1.417-1.el8_5RHSA-2022:0827
Red Hat Enterprise Linux 8dotnet5.0Fixed0:5.0.212-1.el8_5RHSA-2022:0830
Red Hat Enterprise Linux 8python3-brotliFixed0:1.0.6-3.el8RHSA-2021:1702
AlmaLinux 8aspnetcore-runtime-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8aspnetcore-runtime-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8aspnetcore-targeting-pack-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8aspnetcore-targeting-pack-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8brotliFixed1.0.6-3.el8ALSA-2021:1702
AlmaLinux 8brotli-develFixed1.0.6-3.el8ALSA-2021:1702
AlmaLinux 8dotnet-apphost-pack-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-apphost-pack-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-hostfxr-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-hostfxr-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-runtime-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-runtime-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-sdk-3.1Fixed3.1.417-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-sdk-3.1-source-built-artifactsFixed3.1.417-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-sdk-5.0Fixed5.0.212-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-sdk-5.0-source-built-artifactsFixed5.0.212-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-targeting-pack-3.1Fixed3.1.23-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-targeting-pack-5.0Fixed5.0.15-1.el8_5ALSA-2022:0830
AlmaLinux 8dotnet-templates-3.1Fixed3.1.417-1.el8_5ALSA-2022:0827
AlmaLinux 8dotnet-templates-5.0Fixed5.0.212-1.el8_5ALSA-2022:0830
AlmaLinux 8python3-brotliFixed1.0.6-3.el8ALSA-2021:1702
Rocky Linux 8brotliFixed0:1.0.6-3.el8RLSA-2021:1702
Rocky Linux 8dotnet3.1Fixed0:3.1.417-1.el8_5RLSA-2022:0827
Rocky Linux 8dotnet5.0Fixed0:5.0.212-1.el8_5RLSA-2022:0830
Alpine Linux 3.24brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.23brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.22brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.21brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.20brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.19brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.18brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.17brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.16brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.15brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.14brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.13brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
Alpine Linux 3.12brotliFixed1.0.9-r0ALPINE-CVE-2020-8927
PyPI librarybrotliFixed1.0.8GHSA-5v8v-66v8-mwm7
crates.io librarybrotli-sysFix pendingRUSTSEC-2021-0131
crates.io librarycompu-brotli-sysFixed1.0.9GHSA-5v8v-66v8-mwm7
Go librarygithub.com/google/brotliFix pendingGO-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.

Vendor advisories:

References

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.