CVE-2020-36846CWE-1395

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

Critical · published May 30, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
49.7
In the wild
Unconfirmed
What it is

🔥 A sneaky buffer overflow is lurking in versions of IO::Compress::Brotli prior to 0.007! An attacker can exploit this during a "one-shot" decompression request, causing chaos. ⚠️ Think of it like a restaurant that allows patrons to order an unlimited buffet. If a customer brings a massive plate and causes a traffic jam in the kitchen, it could lead to a complete breakdown of service, just like this vulnerability can crash your system when input is too large! An attacker could trigger a crash by sending an oversized input, leading to service downtime and potentially exposing your system to further attacks. This buffer overflow bug is critically severe and can destabilize your application, leaving it vulnerable to chaos.

Put simply

Think of it like a restaurant that allows patrons to order an unlimited buffet. If a customer brings a massive plate and causes a traffic jam in the kitchen, it could lead to a complete breakdown of service, just like this vulnerability can crash your system when input is too large! This vulnerability in the Brotli library allows an attacker to control the input length during a decompression request, resulting in a buffer overflow when copying data chunks greater than 2 GiB. This occurs in versions prior to 0.007 of the IO::Compress::Brotli module.

What to do

An attacker could trigger a crash by sending an oversized input, leading to service downtime and potentially exposing your system to further attacks. This buffer overflow bug is critically severe and can destabilize your application, leaving it vulnerable to chaos. To secure your systems, upgrade your IO::Compress::Brotli module to version 0.007 or later immediately. If updating isn't feasible, switch to the "streaming" API instead of the "one-shot" API and set chunk size limits to mitigate the risk. You've got this! Act quickly and your systems will be safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00633 · 49.7th percentile
Weakness
CWE-1395 · Dependency on Vulnerable Third-Party Component
Published
2025-05-30T00:50Z
EPSS history
Timeline
  • 30 MAY 00:50Z
    IO::Compress::Brotli versions prior to 0.007 for Perl have an integer overflow in the bundled Brotli C library
    cvelistv5