CVE-2026-3633: Libsoup: libsoup: header and http request injection via crlf injection

Published Mar 6, 2026
·
Updated

A flaw was found in libsoup. A remote attacker, by controlling the method parameter of the soupmessagenew() function, could inject arbitrary headers and additional request data. This vulnerability, known as CRLF (Carriage Return Line Feed) injection, occurs because the method value is not properly escaped during request line construction, potentially leading to HTTP request injection.

Other sources

The soupmessagenew() function is used to create a new empty request, which will connect to the provided URI. The request line is constructed using the gstringappendprintf() function without escaping the method value:

gstringappendprintf (header, "%s %s HTTP/1.%d\r\n", soupmessagegetmethod (msg), uristring, (soupmessagegethttpversion (msg) == SOUPHTTP10) ? 0 : 1);

If the method parameter of soupmessagenew() is user-controlled, a malicious user could inject arbitrary headers and further request data using CRLF sequences. A simple example demonstrating the issue is given in the attachment. Running this code confirms that the server on localhost:5000 receives a valid HTTP request containing the injected X-Injected-By header with the value injection. CRLFinjinmethod.c

Impact An attacker controlling the value used to set the method is able to perform a CRLF injection, potentially leading to header injection and HTTP request injection.

Recommended solution Provided methods containing invalid characters should be refused or sanitized. Sanitize or refuse provided methods which contain invalid characters, including any form of whitespace.

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 6, 2026
Data Sourced
via Red Hat·07:54 AM
DescriptionSeverityAffected Software
Mar 17, 2026
CVE Published
via MITRE·09:44 AM
Data Sourced
via MITRE·09:44 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Jul 29, 58194
Event
via FIRST·11:49 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-3633?

CVE-2026-3633 is considered a high-severity vulnerability due to its potential for remote header and HTTP request injection.

2

How do I fix CVE-2026-3633?

To fix CVE-2026-3633, update libsoup to the latest version that addresses this vulnerability.

3

Who is affected by CVE-2026-3633?

CVE-2026-3633 affects users of libsoup, particularly versions included in Red Hat Enterprise Linux 6.0 through 10.0.

4

What types of attacks can CVE-2026-3633 enable?

CVE-2026-3633 can enable remote attackers to inject arbitrary headers and additional data into HTTP requests.

5

What is the root cause of CVE-2026-3633?

The root cause of CVE-2026-3633 is a flaw in the `soup_message_new()` function's handling of the method parameter.

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