Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure app to malicious WebSocket server
-
DeliveryEstablish WebSocket connection
-
ExploitSend crafted Pong frame
-
Execution::pong emits GByteArray as GBytes
-
PersistHandler misparses memory
-
ImpactHeap corruption or crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application built on libsoup act as a WebSocket peer AND register a handler on the SoupWebsocketConnection ::pong signal that reads the payload via the documented GBytes API; only then does the type mismatch (GByteArray delivered as GBytes) corrupt memory when a crafted Pong frame arrives. The attacker must control or compromise the WebSocket endpoint the victim connects to (or otherwise inject a Pong frame into the connection). The key LIMITING factor is that applications which never connect a ::pong handler are unaffected - this is not triggerable against default libsoup usage that ignores Pong frames, which meaningfully narrows the exposed population despite the AV:N/PR:N/UI:N vector. |
| Impact | The CVSS 3.1 base score of 8.6 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) presents this as a network-reachable, unauthenticated, no-interaction flaw with high availability impact - which on its face is a real priority. However, the vector overstates ease of triggering: the description makes clear that exploitation only occurs when the victim application connects a handler to the SoupWebsocketConnection ::pong signal AND that handler follows the documented GBytes API. Most libsoup consumers never register a ::pong handler, so the low-complexity (AC:L) framing is optimistic; a config/coding-dependent precondition arguably warrants AC:H. This is a CWE-843 type-confusion (GByteArray pointer emitted where GBytes is expected), so the realistic dominant outcome is a crash/heap corruption (DoS), consistent with the A:H and only C:L/I:L impacts - full code execution is not established. No EPSS score, no CISA KEV listing, and no public POC were supplied, so exploitation status is: no public exploit identified at time of analysis. Net: a legitimate memory-safety defect worth patching, but real-world risk is bounded by the narrow requirement that the application actually consumes the ::pong signal, making this more medium-priority-in-practice than the 8.6 suggests. |
| Exploit ScenarioDerived | A user's libsoup-based application (or a service using libsoup as a WebSocket client) connects to an attacker-controlled or compromised WebSocket endpoint and has registered a ::pong signal handler using the documented GBytes API. The malicious server sends a crafted WebSocket Pong frame; because libsoup emits the signal with a GByteArray pointer instead of GBytes, the handler misinterprets the memory layout, causing heap corruption or a crash. No public POC or active exploitation is reported. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
A type-confusion memory-safety flaw in libsoup's WebSocket handling can crash or corrupt the heap of applications that process incoming Pong frames. When a Pong frame arrives, SoupWebsocketConnection emits its ::pong signal with a GByteArray pointer even though the signal is declared to pass a GBytes object, so any application that connects a ::pong handler written to the documented GBytes API will misinterpret the payload and may suffer heap corruption or a crash. This is not exploitable against default libsoup usage: the target must both act as a WebSocket peer and explicitly register a ::pong handler, and the attacker must control or compromise the WebSocket endpoint (or otherwise inject a crafted Pong frame) into that connection. The recorded CVSS 3.1 base score is 8.6, but the independent assessment rates it AC:H with C:L/I:L/A:H because exploitation is gated on that non-default handler registration; unauthenticated remote attackers (PR:N, UI:N) can reach the code path, however no public exploit code was identified at time of analysis and the issue is not confirmed as actively exploited.
RemediationAI
No vendor-released patch is identified at time of analysis, so the primary action is to track the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-102556) and Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2543229) for the exact fixed libsoup package versions and apply them once published. In the interim, the most effective compensating control is application-side: audit any code that connects a handler to the SoupWebsocketConnection ::pong signal and either remove that handler or treat the payload defensively (for example, by copying and length-validating the delivered buffer before use) rather than assuming a well-formed GBytes, understanding that this changes application behavior around Pong handling and may break logic that relies on them. Because exploitation requires the attacker to control or inject into the WebSocket endpoint, restricting outbound WebSocket connectivity to trusted, authenticated servers via egress filtering and TLS certificate validation reduces the attack surface, though it will not help applications that legitimately connect to untrusted peers. If a Pong handler is not strictly required, simply not registering one eliminates the vulnerability with no functional cost for that use case.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libsoup is the GNOME HTTP client/server library that also provides WebSocket support through SoupWebsocketConnection. The ::pong signal on this object is declared in the API to deliver a GBytes payload, but the emission path for an incoming Pong control frame actually passes a GByteArray pointer. This mismatch is a classic CWE-843 (Type Confusion): the callee interprets the pointer according to the wrong object layout, so pointer and length fields are read from memory that does not represent a GBytes instance. Applications that connect a handler following the documented GBytes contract therefore read attacker-influenced heap data as a GBytes header, which can lead to out-of-bounds reads/writes and heap corruption, or to an outright crash when the bogus length is used. The flaw is reachable over the network (AV:N) with no authentication (PR:N) and no user interaction (UI:N), but only in applications that both operate a WebSocket connection and attach a ::pong handler; the affected CPE entries for Red Hat Enterprise Linux 6, 7, 8, 9, and 10 reflect libsoup's presence as a packaged dependency across those platforms rather than a flaw in the operating system itself.
Know when Libsoup gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Network-triggered via crafted Pong with no auth or interaction, but AC:H because it only fires when the app registers a documented GBytes ::pong handler; impact is chiefly crash/corruption (A:H, C:L/I:L).
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in libsoup. When handling an incoming WebSocket Pong frame, SoupWebsocketConnection emitted the ::pong signal with a GByteArray pointer even though the signal is declared to pass a GBytes. Applications connecting a handler that follows the documented GBytes API can trigger heap corruption or a crash upon receiving a crafted Pong.
Articles & Coverage 1
Executive ViewAI
A type-confusion flaw in libsoup's WebSocket handling can crash or corrupt the heap of applications that process incoming Pong frames, but only when they explicitly register a ::pong handler and communicate with an attacker-controlled WebSocket endpoint. This is not exploitable in default libsoup usage; unauthenticated remote actors can reach the vulnerable code path, yet exploitation is gated on that non-default handler and endpoint control, and no public exploit identified at time of analysis. Leadership should care because affected applications may face availability loss or memory corruption until a vendor patch is available.
No vendor-released patch identified at time of analysis. Interim mitigations: remove or disable all ::pong signal handlers in libsoup-based WebSocket clients and servers; if a pong handler is required, restrict connections to trusted, authenticated WebSocket endpoints and enforce TLS certificate validation; apply OS-level memory protections such as ASLR and heap hardening; monitor for application crashes or heap-corruption indicators; track the vendor advisory for a patched libsoup release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
libsoup from versions 2.65.1 until 2.68.1 have a heap-based buffer over-read because soup_ntlm_parse_challenge() in soup
GNOME libsoup before 3.6.0 allows HTTP request smuggling in some configurations because '\0' characters at the end of he
A flaw was found in libsoup. Rated high severity (CVSS 7.0), this vulnerability is remotely exploitable, no authenticati
GNOME libsoup before 3.6.1 allows a buffer overflow in applications that perform conversion to UTF-8 in soup_header_pars
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
The get_cookies function in soup-cookie-jar.c in libsoup 2.63.2 allows attackers to have unspecified impact via an empty
HTTP header injection in libsoup through CRLF sequences in the Content-Disposition header allows unauthenticated remote
libsoup's improper handling of URL-decoded input in HTTP proxy configurations allows remote attackers to inject CRLF seq
An integer underflow in GNOME libsoup when processing content containing a zero-length resource can cause a buffer overr
Heap memory corruption in libsoup can be triggered when a WebSocket client using libsoup constructs a masked outgoing fr
Heap out-of-bounds read in libsoup's WebSocket implementation allows a remote, unauthenticated peer to trigger a heap bu
Heap corruption and denial of service in libsoup stem from unbounded WebSocket message reassembly: the code accumulates
EUVD-2026-89031
GHSA-q4x2-vf8m-46j5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB