CVE-2020-36846IO::Compress::Brotli versions prior to 0.007 for Perl have an integer overflow in the…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libio-compress-brotli-perl | Fix pending | UBUNTU-CVE-2020-36846 | |
| Ubuntu 26.04 | libio-compress-brotli-perl | Under investigation | UBUNTU-CVE-2020-36846 | |
| Ubuntu 25.10 | libio-compress-brotli-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2020-36846 | |
| Ubuntu 24.04 | libio-compress-brotli-perl | Under investigation | UBUNTU-CVE-2020-36846 | |
| PyPI library | brotli | Fixed | 1.0.8 | GHSA-5v8v-66v8-mwm7 |
| crates.io library | brotli-sys | Fix pending | RUSTSEC-2021-0131 | |
| crates.io library | compu-brotli-sys | Fixed | 1.0.9 | RUSTSEC-2021-0132 |
| Go library | github.com/google/brotli | Fix pending | GO-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.
- TIMLEGGE IO::Compress::Brotli: affected: before 0.007; fixed in
0.007
Vendor advisories:
- https://github.com/timlegge/perl-IO-Compress-Brotli/blob/8b44c83b23bb4658179e1494af4b725a… (mitigation)
- https://github.com/google/brotli/commit/223d80cfbec8fd346e32906c732c8ede21f0cea6 (patch)
References
- https://github.com/google/brotli/pull/826
- https://github.com/advisories/GHSA-5v8v-66v8-mwm7
- https://github.com/timlegge/perl-IO-Compress-Brotli/blob/8b44c83b23bb4658179e1494af4b725a1bc476bc/Changes#L52
- https://nvd.nist.gov/vuln/detail/CVE-2020-8927
- https://github.com/google/brotli/commit/223d80cfbec8fd346e32906c732c8ede21f0cea6
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.