CyberRota Analysis
AI-GeneratedA vulnerability exists in libsoup-based clients due to an integer overflow guard being improperly placed, allowing a malicious WebSocket server to send crafted unmasked frames that can trigger an out-of-bounds read. This can lead to potential information disclosure or application crashes when the max_incoming_payload_size is configured to zero. Organizations using libsoup in their applications should prioritize addressing this issue to mitigate risks associated with untrusted WebSocket communications.
Original NVD Description
The fix for CVE-2026-0716 (commit 6ff7ef0, libsoup 3.6.6) placed the integer overflow guard inside the if (masked) block, leaving unmasked server-to-client frames unprotected. A malicious WebSocket server can send a crafted unmasked frame with a payload length near UINT64_MAX to trigger an OOB read in a libsoup-based client when max_incoming_payload_size is set to 0.