CVE-2020-8927

Buffer overflow in Brotli library

State
Published
Severity
5.3 Medium
Published
Sep 15, 2020
Updated
May 29, 2026
Reserved
Feb 12, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGoogle

Weaknesses

  • CWE-130 Improper Handling of Length Parameter Inconsistency

Affected Products

ProductVersions
BrotliGoogle LLC
  • stable through 1.0.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.