libsoup WebSocket Denial-of-Service Vulnerability

Vulnerability

A denial-of-service vulnerability has been identified in libsoup's WebSocket implementation. The issue arises because the SoupWebsocketConnection component does not properly limit the size of WebSocket messages, allowing a malicious peer to send large messages that can cause excessive memory allocation. This flaw can lead to a denial-of-service condition by exhausting system resources.

Impact

Exploitation of this vulnerability can cause a denial-of-service condition on the WebSocket server, leading to increased memory usage and potential application crashes.

Reproduction

To reproduce this vulnerability, send large WebSocket messages composed of multiple smaller packets to a server using libsoup. The server will accept the messages and allocate memory for them, which can exhaust system resources and cause a denial-of-service condition.

Remediation

Users can apply the available update for libsoup. Instructions for applying this update can be found in the Red Hat Product Errata RHSA-2025:8126, RHSA-2025:8128, RHSA-2025:8132, RHSA-2025:8139, RHSA-2025:8140, and RHSA-2025:8252.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
7.3
impact
2.5
exploitability
8.5
remediation
7.7
relevance
0.0
threat
1.6
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.