CVE-2026-116579

Autobahn Python: permessage-brotli inflates a whole frame before maxMessagePayloadSize is checked (incomplete fix of GHSA-hxp9-w8x3-p566)

Published Oct 26, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Autobahn Python is a WebSocket and WAMP implementation for Python that supports Twisted and asyncio. From 26.7.1 until 26.10.1, PerMessageBrotli.decompress_message_data in compress_brotli.py calls the Brotli decompressor without an output limit and checks maxMessagePayloadSize only after a complete frame has been inflated. An unauthenticated WebSocket client can send a small, highly compressed frame that allocates hundreds of MiB before rejection, causing memory-exhaustion denial of service on servers that enable the opt-in permessage-brotli feature through the compress extra. Deflate and bzip2 already enforce the remaining output budget and are outside this residual vulnerability. This issue is fixed in version 26.10.1.

Analysis

AI-generated

Technical impact

The vulnerability resides in Autobahn Python’s PerMessageBrotli.decompress_message_data function, which decompresses incoming Brotli frames without enforcing an output limit. After the full frame is inflated, the library checks the maximum message payload size. An unauthenticated WebSocket client can send a small but highly compressed frame that forces the server to allocate hundreds of megabytes before the check rejects the payload, exhausting available memory and causing a denial of service. The flaw corresponds to CWE-409 (Excessive Resource Consumption) and CWE-770 (Insufficient Resource Limitation).

Affected Systems

Crossbario Autobahn Python versions 26.7.1 through 26.10.0 are affected. The issue is only present when the permessage-brotli optional feature (compress extra) is enabled on the server. The fix was released in version 26.10.1.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an unauthenticated WebSocket client sending a specifically crafted compressed frame. No authentication or privileged access is required, making the exploit straightforward for attackers seeking to disrupt the service. The risk is moderate: while it does not compromise confidentiality or integrity, it can degrade availability by exhausting server memory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Autobahn Python to version 26.10.1 or later, which implements an output limit before the payload size check.
  • If an upgrade is not immediately possible, disable the permessage-brotli feature on the server to prevent compressed frames from being processed.
  • Consider applying any vendor-released patches that enforce output limits on Brotli decompression if they become available.

Generated by OpenCVE AI on October 26, 2026 at 22:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pjh6-c8mg-3x7m Autobahn Python: permessage-brotli inflates a whole frame before maxMessagePayloadSize is checked (incomplete fix of GHSA-hxp9-w8x3-p566)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Crossbario
Crossbario autobahn-python
Vendors & Products Crossbario
Crossbario autobahn-python
Type Values Removed Values Added
Description Autobahn Python is a WebSocket and WAMP implementation for Python that supports Twisted and asyncio. From 26.7.1 until 26.10.1, PerMessageBrotli.decompress_message_data in compress_brotli.py calls the Brotli decompressor without an output limit and checks maxMessagePayloadSize only after a complete frame has been inflated. An unauthenticated WebSocket client can send a small, highly compressed frame that allocates hundreds of MiB before rejection, causing memory-exhaustion denial of service on servers that enable the opt-in permessage-brotli feature through the compress extra. Deflate and bzip2 already enforce the remaining output budget and are outside this residual vulnerability. This issue is fixed in version 26.10.1.
Title Autobahn Python: permessage-brotli inflates a whole frame before maxMessagePayloadSize is checked (incomplete fix of GHSA-hxp9-w8x3-p566)
Weaknesses CWE-409
CWE-770
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 27, 2026, 2:18 PM
Reserved
Oct 26, 2026, 3:03 PM
Status
Awaiting Analysis
Published
Oct 26, 2026, 9:18 PM
Modified
Oct 27, 2026, 4:03 PM
Severity
Moderate
Public date
Oct 26, 2026, 8:29 PM