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

Published May 30, 2025
·
Updated

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.

Affected Software

2 affected components
Perl IO::Compress::Brotli<0.007
Brotli Brotli library<1.0.8

Event History

May 30, 2025
CVE Published
via MITRE·12:50 AM
Data Sourced
via MITRE·12:50 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-36846?

CVE-2020-36846 is classified as a high severity vulnerability due to the potential for remote code execution via a buffer overflow.

2

How do I fix CVE-2020-36846?

To mitigate CVE-2020-36846, upgrade IO::Compress::Brotli to version 0.007 or higher, and ensure the Brotli library is at version 1.0.8 or above.

3

What products are affected by CVE-2020-36846?

CVE-2020-36846 affects Perl IO::Compress::Brotli versions prior to 0.007 and the Brotli library versions prior to 1.0.8.

4

What kind of attack does CVE-2020-36846 allow?

CVE-2020-36846 enables attackers to control the input length of a decompression request, potentially leading to a buffer overflow.

5

Is there a way to test for CVE-2020-36846?

Testing for CVE-2020-36846 typically involves reviewing application dependencies for vulnerable versions of IO::Compress::Brotli and the Brotli library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203