VDB

CVE-2020-36846

CVE-2020-36846 PUBLISHED CVSS 9.8 CRITICAL

Integer overflow in the bundled Brotli C library

Reported by cpansec · Published May 30, 2025

compu-brotli-sys is fixed in 1.0.9 (crates.io)

A buffer overflow, as described in CVE-2020-8927, exists in the embedded Brotli library. Versions of IO::Compress::Brotli prior to 0.007 included a version of the brotli library prior to version 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 IO::Compress::Brotli module to 0.007 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64NuGet6.0.3, 5.0.15
Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64NuGet6.0.3
Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.x64NuGet6.0.3
Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64NuGet6.0.3
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-armNuGet6.0.3
Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-armNuGet6.0.3
Microsoft.NETCore.App.Runtime.Mono.android-armNuGet6.0.3
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64NuGet6.0.3, 5.0.15
Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.arm64NuGet6.0.3
Microsoft.NETCore.App.Runtime.linux-arm64NuGet6.0.3, 5.0.15, 3.1.23
Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x86NuGet6.0.3
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64.Msi.x64NuGet6.0.3

68 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
TIMLEGGEIO::Compress::Brotli0
TIMLEGGEIO::Compress::Brotli0

Timeline

  • May 30, 2025 EPSS Score (30 in total, the first dated here)
  • May 30, 2025 CVE Published
  • Mar 6, 2026 Security Advisory (3 in total, the first dated here)
  • Mar 9, 2026 Distribution Patch
  • Apr 15, 2026 CVE Updated
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-36846
vulnetix vdb fixes CVE-2020-36846

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-36846/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • issue-tracking
  • third-party-advisory
  • mitigation
  • vdb-entry
  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›