JLSEC-2026-2340: Buffer Overflow
A flaw was found in libsoup. When max-incoming-payload-size is unlimited (0), SoupWebsocketConnection could grow its incoming GByteArray based on an attacker-controlled frame length until the length wrapped, causing a heap buffer overflow while reading frame data.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using SoupWebsocketConnection are exposed when max-incoming-payload-size is set to unlimited (0). The provided data does not state whether this is the default setting.
What does an attacker need to exploit the flaw?
An attacker needs network access to a reachable WebSocket service and must send a frame with an attacker-controlled length. No authentication, privileges, or user interaction are required according to the supplied severity vector.
What is the likely security impact of successful exploitation?
The attacker-controlled frame length can cause an integer wrap during incoming buffer growth, leading to a heap buffer overflow while frame data is read. The supplied severity vector indicates high availability impact and low confidentiality and integrity impact.