GHSA-8j3g-f24p-4mpw: websocket-driver: Memory exhaustion in HTTP header parser
A memory exhaustion vulnerability exists in the websocket-driver library's HTTP header parser. When used to implement a WebSocket server on a TCP server or to complement a WebSocket client, an attacker can send an HTTP request or response with an unbounded number of headers, causing the process to consume excessive memory and potentially crash. This issue is fixed in version 0.8.1 by limiting the total size of HTTP headers and request/response lines to 32 kB. No workarounds are currently known.
AI Analysis
Technical Summary
The websocket-driver library prior to version 0.8.1 contains a vulnerability (CVE-2026-54465) where the HTTP header parser does not limit the total size of headers or request/response lines. This allows a remote peer to cause memory exhaustion by sending a never-ending list of headers, leading to unbounded memory consumption in the receiving process. The vulnerability affects usage scenarios where websocket-driver is used to implement a WebSocket server on top of a raw TCP server or to complement a WebSocket client. The issue is addressed in version 0.8.1 by enforcing a 32 kB limit on the total size of HTTP headers and lines.
Potential Impact
An attacker can cause the affected process to consume an unbounded amount of memory by sending a crafted HTTP request or response with an excessively large number of headers. This can lead to denial of service due to memory exhaustion and potential process crash. The impact is limited to scenarios where websocket-driver is used as described and does not require authentication or user interaction.
Mitigation Recommendations
Upgrade websocket-driver to version 0.8.1 or later, which includes an official fix limiting the total size of HTTP headers and request/response lines to 32 kB. No known workarounds exist. Users should apply this patch promptly to prevent potential memory exhaustion attacks.
GHSA-8j3g-f24p-4mpw: websocket-driver: Memory exhaustion in HTTP header parser
Description
A memory exhaustion vulnerability exists in the websocket-driver library's HTTP header parser. When used to implement a WebSocket server on a TCP server or to complement a WebSocket client, an attacker can send an HTTP request or response with an unbounded number of headers, causing the process to consume excessive memory and potentially crash. This issue is fixed in version 0.8.1 by limiting the total size of HTTP headers and request/response lines to 32 kB. No workarounds are currently known.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The websocket-driver library prior to version 0.8.1 contains a vulnerability (CVE-2026-54465) where the HTTP header parser does not limit the total size of headers or request/response lines. This allows a remote peer to cause memory exhaustion by sending a never-ending list of headers, leading to unbounded memory consumption in the receiving process. The vulnerability affects usage scenarios where websocket-driver is used to implement a WebSocket server on top of a raw TCP server or to complement a WebSocket client. The issue is addressed in version 0.8.1 by enforcing a 32 kB limit on the total size of HTTP headers and lines.
Potential Impact
An attacker can cause the affected process to consume an unbounded amount of memory by sending a crafted HTTP request or response with an excessively large number of headers. This can lead to denial of service due to memory exhaustion and potential process crash. The impact is limited to scenarios where websocket-driver is used as described and does not require authentication or user interaction.
Mitigation Recommendations
Upgrade websocket-driver to version 0.8.1 or later, which includes an official fix limiting the total size of HTTP headers and request/response lines to 32 kB. No known workarounds exist. Users should apply this patch promptly to prevent potential memory exhaustion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8j3g-f24p-4mpw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54465"]
- Ecosystems
- ["RubyGems"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a58b40e68715ace43d67cc8
Added to database: 07/16/2026, 10:35:58 UTC
Last enriched: 07/16/2026, 10:52:07 UTC
Last updated: 07/16/2026, 10:52:07 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.