CVE-2026-4271: Libsoup: libsoup: denial of service via use-after-free in http/2 server

Published Mar 16, 2026
·
Updated

A flaw was found in libsoup, a library for handling HTTP requests. This vulnerability, known as a Use-After-Free, occurs in the HTTP/2 server implementation. A remote attacker can exploit this by sending specially crafted HTTP/2 requests that cause authentication failures. This can lead to the application attempting to access memory that has already been freed, potentially causing application instability or crashes, resulting in a Denial of Service (DoS).

Other sources

Use-After-Free vulnerability in the HTTP/2 server implementation of the libsoup HTTP library. The issue occurs in the onframerecvcallback() function when processing HTTP/2 frames. During header handling, the function increments an internal callback counter and emits signals such as soupservermessagegotheaders(). If a user-defined signal handler disconnects the client connection during this callback (for example due to authentication failure), the associated SoupServerMessageIOHTTP2 object may be destroyed and freed while still referenced by the callback. When execution returns to the callback, it continues to access the freed io object and attempts to update internal state, resulting in a heap use-after-free condition. An attacker can trigger this issue by sending HTTP/2 requests that cause authentication validation failures, potentially leading to application instability or crashes.

Red Hat

Affected Software

7 affected components
libsoup/libsoup
Gnome libsoup
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0

Event History

Mar 16, 2026
Data Sourced
via Red Hat·02:46 PM
DescriptionSeverityAffected Software
Mar 17, 2026
CVE Published
via MITRE·11:14 AM
Data Sourced
via MITRE·11:14 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 29, 58194
Event
via FIRST·04:09 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-4271?

CVE-2026-4271 has been assigned a medium severity rating due to the potential for denial of service via a use-after-free condition.

2

How do I fix CVE-2026-4271?

To mitigate CVE-2026-4271, ensure you update libsoup to the latest patched version provided by your distribution.

3

Who is affected by CVE-2026-4271?

CVE-2026-4271 affects users of libsoup, especially those running specific versions on Red Hat Enterprise Linux.

4

What can an attacker do with CVE-2026-4271?

An attacker can exploit CVE-2026-4271 to cause a denial-of-service by sending specially crafted HTTP/2 requests to the vulnerable server.

5

Is CVE-2026-4271 related to HTTP/2 server vulnerabilities?

Yes, CVE-2026-4271 specifically pertains to a weakness in the HTTP/2 server implementation within the libsoup library.

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