CVEfocus › CVE database › CVE-2020-36846

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

CVSS 9.8 CriticalEPSS 0.7% (higher than 46% of CVEs)Published 2025-05-30Updated 2025-05-30Assigner: CPANSec

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.

CWE-1395

What to do

Fixed builds are available from PyPI, crates.io: see the table below for the fixed version per release.

Go, Ubuntu, crates.io have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libio-compress-brotli-perlFix pendingUBUNTU-CVE-2020-36846
Ubuntu 26.04libio-compress-brotli-perlUnder investigationUBUNTU-CVE-2020-36846
Ubuntu 25.10libio-compress-brotli-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-36846
Ubuntu 24.04libio-compress-brotli-perlUnder investigationUBUNTU-CVE-2020-36846
PyPI librarybrotliFixed1.0.8GHSA-5v8v-66v8-mwm7
crates.io librarybrotli-sysFix pendingRUSTSEC-2021-0131
crates.io librarycompu-brotli-sysFixed1.0.9RUSTSEC-2021-0132
Go librarygithub.com/google/brotliFix pendingGO-2025-3726

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.