CVE-2020-36846
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 | NuGet | 6.0.3, 5.0.15 |
| Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64 | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.x64 | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.Mono.android-arm | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 | NuGet | 6.0.3, 5.0.15 |
| Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.arm64 | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.linux-arm64 | NuGet | 6.0.3, 5.0.15, 3.1.23 |
| Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x86 | NuGet | 6.0.3 |
| Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64.Msi.x64 | NuGet | 6.0.3 |
68 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| TIMLEGGE | IO::Compress::Brotli | 0 |
| TIMLEGGE | IO::Compress::Brotli | 0 |
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