Security Advisories (2)
CVE-2020-36846 (2025-05-30)

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.

CVE-2020-8927 (2020-09-15)

A buffer overflow exists in the Brotli library versions prior to 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 Brotli library to 1.0.8 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.

Changes for version 0.003 - 2017-09-16

  • Same as 0.002_002
  • Update included Brotli library to v0.6.0
  • [BREAKS API] unbro now takes two parameters due to the removal of the BrotliDecompressedSize function

Changes for version 0.002_002 - 2017-09-09

  • Update included Brotli library to v0.6.0
  • [BREAKS API] unbro now takes two parameters due to the removal of the BrotliDecompressedSize function

Modules

Write Brotli buffers/streams
Read Brotli buffers/streams