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_002 - 2017-10-14

  • Fix bad version causing test failures

Changes for version 0.003_001 - 2017-09-23

  • Update included Brotli library to v1.0.1
  • [BREAKS API] remove the undocumented "set_dictionary" function from both IO::Compress::Brotli and IO::Uncompress::Brotli because Brotli v1.0.0 dropped support for custom dictionaries

Modules

Write Brotli buffers/streams
Read Brotli buffers/streams