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.002 - 2016-08-28

  • Thanks to Quim Rovira, Ævar Arnfjörð Bjarmason, Marcell Szathmári and Mattia Barbon for all changes in this version
  • Use a git submodule to embed the brotli repo
  • Modernise calls to deprecated brotli decoder APIs
  • Add brotli encoder bindings
  • Add more tests
  • Add a command line tool (bro-perl) that imitates the official bro tool
  • Make XS code look nicer

Modules

Write Brotli buffers/streams
Read Brotli buffers/streams