Vulnerability · Published May 30, 2025 · Assigned by CPANSec

CVE-2020-36846IO::Compress::Brotli versions prior to 0.007 for Perl have an integer overflow in the bundled Brotli C library

Critical 9.8

In plain English

A critical-severity security flaw in IO::Compress::Brotli from TIMLEGGE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 48.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/google/brotlino fix listedGO-2025-3726
NuGetmicrosoft.netcore.app.runtime.aot.linux-x64.cross.android-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.linux-x64.cross.android-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.linux-x64.cross.android-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.linux-x64.cross.android-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.linux-x64.cross.browser-wasm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.android-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.android-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.android-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.android-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.browser-wasm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.ios-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.ios-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.iossimulator-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.iossimulator-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.iossimulator-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.maccatalyst-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.maccatalyst-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.tvos-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.tvossimulator-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.osx-x64.cross.tvossimulator-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-arm.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-x64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.android-x86.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.browser-wasm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.aot.win-x64.cross.browser-wasm.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.browser-wasm5.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm3.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm5.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm5.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-musl-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-x643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.linux-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x86.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x86.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.android-x86.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.browser-wasm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.browser-wasm.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.browser-wasm.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.browser-wasm.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.ios-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x86.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x86.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.iossimulator-x86.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-arm5.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-musl-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-musl-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.linux-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.linux-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.linux-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.linux-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.linux-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.osx-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.aot.osx-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.linux-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.linux-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.linux-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.linux-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.osx-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.llvm.osx-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-x64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-x64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.maccatalyst-x64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.osx-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.osx-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.osx-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvos-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvos-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvos-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvos-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-arm64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-arm64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-arm64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-x64.msi.arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-x64.msi.x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.tvossimulator-x64.msi.x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.win-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.mono.win-x866.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.osx-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.osx-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.osx-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.osx-x643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm5.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm6.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm3.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-arm646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x646.0.3GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x643.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x645.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x865.0.15GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x863.1.23GHSA-5v8v-66v8-mwm7
NuGetmicrosoft.netcore.app.runtime.win-x866.0.3GHSA-5v8v-66v8-mwm7
PyPIbrotli1.0.8GHSA-5v8v-66v8-mwm7
PyPIbrotli1.0.8PYSEC-2020-29
Ubuntu:24.04:LTSlibio-compress-brotli-perlno fix listedUBUNTU-CVE-2020-36846
Ubuntu:25.10libio-compress-brotli-perlno fix listedUBUNTU-CVE-2020-36846
Ubuntu:26.04:LTSlibio-compress-brotli-perlno fix listedUBUNTU-CVE-2020-36846
Ubuntu:26.10libio-compress-brotli-perlno fix listedUBUNTU-CVE-2020-36846

Affected products (as reported)

VendorProductVersions
TIMLEGGE IO::Compress::Brotli 0 – before 0.007

Weakness: CWE-1395 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References