Skip to main content
← All vulnerabilities
CVE-2026-115946

XS::libbrotli versions before 1.2.1.0 for Perl bundle a brotli library with an out-of-bounds write in the decoder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1.0
None on Exploit-DB, Metasploit or GitHub

Summary

XS::libbrotli for Perl, a bundled copy of the brotli compression library used by other Perl modules at build time, contains a memory-corruption flaw in its decompression code. An attacker who supplies a specially crafted compressed stream to a dependent module that decompresses untrusted data could corrupt memory, leak information, crash the process, or potentially run arbitrary code.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

XS::libbrotli versions before 1.2.1.0 for Perl bundle a brotli library with an out-of-bounds write in the decoder. Affected versions compile a bundled brotli into static archives that dependent XS modules link against at build time, rather than using the system library. The bundled copy, 1.0.7 or 1.1.0 across the range, carries the decoder out-of-bounds write described in CVE-2026-111497. Version 1.2.1.0 updates it to brotli 1.2.1. XS::libbrotli has no Perl interface, so the decoder is reached through any dependent module that decompresses untrusted data with it. An attacker supplying a crafted brotli stream can corrupt decoder state, disclose memory, crash the process, or potentially execute arbitrary code. Upgrading the system brotli does not remediate this.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • XS-libbrotli

    fixed in 1.2.1.0

References 3

cve.org

GitHub · google/brotli

metacpan.org