brotli is vulnerable to Out-of-bounds Write
95
CVE Score
Critical
Out-of-bounds Write
The PHP brotli extension vendors Google's Brotli decoder. A block type switch in a stream that declares only one block type is ignored on the fast path, so decoding continues and writes outside the decoder output buffer. A crafted Brotli stream passed to brotli_uncompress can crash the process, disclose memory, corrupt data, or potentially execute arbitrary code. Release 0.21.1 vendors Brotli v1.2.1, which reports the invalid block switch and stops decoding.
Upgrade the brotli extension to 0.21.1 or later.
You are affected if you are using a version that falls within the vulnerable range and the application decompresses Brotli data.
0.5.1 - 0.21.0
Fixed in 0.21.1brotli is vulnerable to Out-of-bounds Write in versions 0.5.1 - 0.21.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.