Bug 2543283 - CVE-2026-102559 libsoup: libsoup: Heap buffer overflow during WebSocket client-frame masking [fedora-all]
Summary: CVE-2026-102559 libsoup: libsoup: Heap buffer overflow during WebSocket clien...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libsoup
Version: 44
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["5c112865-4fb6-4790-9d61-b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 16:36 UTC by Srikanth Balasubramanian
Modified: 2026-10-08 20:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-09-29 16:36:59 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A heap buffer overflow was found in libsoup's client-side WebSocket frame construction / masking path.

Outgoing frames are built in a GByteArray. For a send payload larger than the array can represent (at/above ~2^31), g_byte_array_sized_new() / append truncated the length while xor_with_mask() still iterated the full attacker-/caller-controlled length, writing past the small allocation during masking.

Fixed by rejecting outgoing payloads above MAX_OUTGOING_PAYLOAD_SIZE both before and after extensions process the payload (commit d7f074f8, libsoup 3.7.3).

References:
https://gitlab.gnome.org/GNOME/libsoup/-/work_items/554 (Bug 7)
https://gitlab.gnome.org/GNOME/libsoup/-/commit/d7f074f8


Note You need to log in before you can comment on or make changes to this bug.