Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2020-8927 EUVD-2020-0057

Buffer overflow in Brotli library

Published Sep 15, 2020 · Updated May 29, 2026 · Assigned by Google

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

VendorProductAffectedFixed
Google Brotli stable – ≤ 1.0.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 brotli 1.0.9-1 —
Debian 13 brotli 1.0.9-1 —
Debian 12 brotli 1.0.9-1 —
Debian 10 brotli 1.0.7-2+deb10u1 DSA-4801-1
Debian 9 brotli 0.5.2+dfsg-2+deb9u1 DLA-2476-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS brotli 1.0.7-6ubuntu0.1 USN-4568-1
Ubuntu 18.04 LTS brotli 1.0.3-1ubuntu1.3 USN-4568-1
Ubuntu 16.04 LTS brotli 1.0.3-1ubuntu1~16.04.2 USN-4568-1
ReleasePackageFixed inAdvisory
RHEL 8 brotli +2 1.0.6-3.el8 RHSA-2021:1702
RHEL 8 dotnet-hostfxr-3.1 +5 3.1.23-1.el8_5 RHSA-2022:0827
RHEL 8 dotnet-hostfxr-5.0 +5 5.0.15-1.el8_5 RHSA-2022:0830
RHEL 8 dotnet3.1 +3 3.1.417-1.el8_5 RHSA-2022:0827
RHEL 8 dotnet5.0 +3 5.0.212-1.el8_5 RHSA-2022:0830
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Dotnet 5 rh-dotnet50-dotnet +4 5.0.212-1.el7_9 RHSA-2022:0828
Red Hat Rhel Dotnet 5 rh-dotnet50-dotnet-host +6 5.0.15-1.el7_9 RHSA-2022:0828
Red Hat Rhel Dotnet 3 rh-dotnet31-dotnet +4 3.1.417-1.el7_9 RHSA-2022:0829
Red Hat Rhel Dotnet 3 rh-dotnet31-dotnet-host +6 3.1.23-1.el7_9 RHSA-2022:0829

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 brotli +2 1.0.6-3.el8 ALSA-2021:1702
AlmaLinux 8 dotnet-hostfxr-3.1 +5 3.1.23-1.el8_5 ALSA-2022:0827
AlmaLinux 8 dotnet-hostfxr-5.0 +5 5.0.15-1.el8_5 ALSA-2022:0830
AlmaLinux 8 dotnet-sdk-3.1 +2 3.1.417-1.el8_5 ALSA-2022:0827
AlmaLinux 8 dotnet-sdk-5.0 +2 5.0.212-1.el8_5 ALSA-2022:0830

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 brotli 1.0.6-3.el8 RLSA-2021:1702
Rocky Linux 8 dotnet3.1 3.1.417-1.el8_5 RLSA-2022:0827
Rocky Linux 8 dotnet5.0 5.0.212-1.el8_5 RLSA-2022:0830
ReleasePackageFixed inAdvisory
SLES 15 SP5 python-Brotli 1.0.7-150200.3.3.1 SUSE-SU-2024:1968-1
SLES 15 SP5 python-brotlipy 0.7.0-150300.3.3.1 SUSE-SU-2023:3827-1
SLES 15 SP4 python-brotlipy 0.7.0-150300.3.3.1 SUSE-SU-2023:3827-1
SLES 15 SP3 brotli 1.0.7-3.3.1 SUSE-SU-2021:3942-1
SLES 15 SP3 python-brotlipy 0.7.0-150300.3.3.1 SUSE-SU-2023:3827-1
SLES 15 SP2 brotli 1.0.7-3.3.1 SUSE-SU-2021:3942-1
SLES 15 SP2 python-brotlipy 0.7.0-150100.3.6.1 SUSE-SU-2023:3669-1
SLES 15 SP1 python-brotlipy 0.7.0-150100.3.6.1 SUSE-SU-2023:3669-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 python-brotlipy 0.6.0-2.6.1 SUSE-SU-2023:3670-1
SLES 3 python-Brotli 1.0.7-150200.3.3.1 SUSE-SU-2024:1968-1
SLE Micro 5.1 brotli 1.0.7-3.3.1 SUSE-SU-2025:01762-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cargo-audit-advisory-db 20220105-1.1 openSUSE-SU-2024:11708-1
openSUSE Tumbleweed python-Brotli 1.2.0-1.6 openSUSE-SU-2026:11988-1
openSUSE Leap 15.5 python-Brotli 1.0.7-150200.3.3.1 SUSE-SU-2024:1968-1
openSUSE Leap 15.5 python-brotlipy 0.7.0-150300.3.3.1 SUSE-SU-2023:3827-1
openSUSE Leap 15.4 python-brotlipy 0.7.0-150300.3.3.1 SUSE-SU-2023:3827-1
openSUSE Leap 15.3 brotli 1.0.7-3.3.1 openSUSE-SU-2021:3942-1
openSUSE Leap 15.2 brotli 1.0.9-lp152.2.3.1 openSUSE-SU-2020:1578-1
ReleasePackageFixed inAdvisory
Alpine v3.24 brotli 1.0.9-r0 —
Alpine v3.23 brotli 1.0.9-r0 —
Alpine v3.22 brotli 1.0.9-r0 —
Alpine v3.21 brotli 1.0.9-r0 —
Alpine v3.20 brotli 1.0.9-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 brotli 1.0.9-r0 —
Alpine v3.18 brotli 1.0.9-r0 —
Alpine v3.17 brotli 1.0.9-r0 —
Alpine v3.16 brotli 1.0.9-r0 —
Alpine v3.15 brotli 1.0.9-r0 —
Alpine v3.14 brotli 1.0.9-r0 —
Alpine v3.13 brotli 1.0.9-r0 —
Alpine v3.12 brotli 1.0.9-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) brotli 1.0.7-10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 brotli +2 1.0.6-3.el8 ELSA-2021-1702
Oracle Linux 8 dotnet-hostfxr-3.1 +5 3.1.23-1.0.1.el8_5 ELSA-2022-0827
Oracle Linux 8 dotnet-hostfxr-5.0 +5 5.0.15-1.0.1.el8_5 ELSA-2022-0830
Oracle Linux 8 dotnet-sdk-3.1 +2 3.1.417-1.0.1.el8_5 ELSA-2022-0827
Oracle Linux 8 dotnet-sdk-5.0 +2 5.0.212-1.0.1.el8_5 ELSA-2022-0830

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 29

References