Technical impact
The vulnerability is an out-of-bounds write in the brotli decoder that is statically bundled in XS::libbrotli before version 1.2.1.0. A crafted brotli stream can corrupt decoder state, expose memory contents, cause a crash, or potentially execute arbitrary code when an application that includes a dependent XS module decompresses data.
Affected Systems
The affected product is the XS::libbrotli Perl module in versions prior to 1.2.1.0, which contains a bundled brotli 1.0.7 or 1.1.0. Any Perl application that loads an XS module that depends on this bundled decoder—such as modules that decompress user supplied data—may be vulnerable. The issue is not remedied by upgrading the system brotli library because the bundled copy is used at compile time.
Risk and Exploitability
Because the flaw allows memory corruption and the described outcome includes arbitrary code execution, the risk level is high. The CVSS score of 9.8 indicates critical severity, the EPSS score is < 1%, and the vulnerability is not listed in CISA KEV, but the potential impact and the fact that an attacker can supply crafted input means the exploitation probability could be significant if the vulnerable modules are exposed to untrusted data.