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 Oct 31, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

Vendor Solution

Upgrade to XS-libbrotli 1.2.1.0 or later and reinstall every XS module built against it.


OpenCVE Recommended Actions

  • Upgrade XS::libbrotli to version 1.2.1.0 or later and reinstall every XS module that was built against the older version.
  • Recompile all dependent XS modules against the updated XS::libbrotli to ensure they link against the fixed static library.
  • Deploy the updated XS::libbrotli package and rebuilt modules to all production environments, ensuring the runtime environment uses the fixed library.

Generated by OpenCVE AI on November 9, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Perl
Perl xs::libbrotli
Vendors & Products Perl
Perl xs::libbrotli
Type Values Removed Values Added
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.
Title XS::libbrotli versions before 1.2.1.0 for Perl bundle a brotli library with an out-of-bounds write in the decoder
Weaknesses CWE-1395
References
Weaknesses
  • CWE-1395

    Dependency on Vulnerable Third-Party Component

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 9, 2026, 5:02 PM
Reserved
Oct 23, 2026, 11:40 PM
Status
Deferred
Published
Nov 1, 2026, 12:16 AM
Modified
Nov 9, 2026, 5:17 PM