Buffer Overflow Affecting google/brotli package, versions [,1.0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GOOGLEBROTLI-10264898
  • published30 May 2025
  • disclosed15 Sept 2020
  • creditUnknown

Introduced: 15 Sep 2020

CVE-2020-8927  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade google/brotli to version 1.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. An attacker could control 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.

CVSS Base Scores

version 4.0
version 3.1