Bug 2543293 - CVE-2026-102560 libsoup: libsoup: Heap buffer overflow during outgoing permessage-deflate buffer growth [fedora-all]
Summary: CVE-2026-102560 libsoup: libsoup: Heap buffer overflow during outgoing permes...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libsoup
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d377f1f6-75f0-49a4-9d3d-0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 16:47 UTC by Srikanth Balasubramanian
Modified: 2026-09-29 16:47 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:47:03 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 WebSocket permessage-deflate outgoing path.

soup_websocket_extension_deflate_process_outgoing_message() stored deflateBound()'s uLong result in a guint and grew a GByteArray by that amount. For payloads approaching 4 GiB, the bound exceeds G_MAXUINT; truncation allowed buffer->len + max_length to wrap on later growth, and zlib wrote through next_out past the allocation.

Fixed by refusing payloads whose compressed bound cannot fit in a GByteArray and by checking each incremental growth (commit dbd0417e, libsoup 3.7.3).

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


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