REDHAT-BUG-2528440: Medium severity libsoup vulnerability

Published Sep 4, 2026
·
Updated

A flaw was found in libsoup. The HTTP/2 client request-body path for non-pollable GInputStream sources buffers an asynchronous read sized to the current flow-control window, then later copies that entire buffer into nghttp2's DATA callback buffer without clamping to the callback length. A malicious HTTP/2 server can send a SETTINGS frame that reduces SETTINGSINITIALWINDOWSIZE while that read is in flight, making the next DATA callback length smaller than the already-buffered byte count. The only check is a gassert(), which aborts the client in typical builds. If assertions are compiled out, nghttp2 rejects a return value larger than the allowed length and fails the session.

Affected Software

1 affected component
libsoup

Event History

Sep 4, 2026
Data Sourced
via Red Hat·08:54 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Clients using libsoup's HTTP/2 request-body path with a non-pollable GInputStream source are exposed when they communicate with a malicious HTTP/2 server.

2

What must an attacker do to trigger the failure?

The attacker must control or act as the HTTP/2 server and send a SETTINGS frame that reduces SETTINGS_INITIAL_WINDOW_SIZE while the client has an asynchronous request-body read in flight.

3

What is the expected impact in different build configurations?

In typical builds, the g_assert() check aborts the client. When assertions are compiled out, nghttp2 rejects the oversized return value and fails the HTTP/2 session instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203