CVE-2020-8927
brotli: buffer overflow when input chunk is larger than 2GiB
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 27, 2020
Updated · November 22, 2025
Description
A buffer overflow flaw was found in the Brotli library where an attacker could control the input length of a "one-shot" decompression request to a script that can trigger a crash. This issue can happen when copying chunks of data larger than 2 GiB.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
This flaw can be mitigated by using Streaming API instead of the One-Shot API and imposing chunk size limitations.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CWE-130 · Improper Handling of Length Parameter Inconsistency