All reports
High

libsoup: HTTP request smuggling via stripping null bytes from the ends of header names

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-52530

Probability of exploitation in the next 30 days: 0.78%

FIRST EPSS · 2026-11-23

Description

GNOME libsoup before 3.6.0 allows HTTP request smuggling in some configurations because '\0' characters at the end of header names are ignored, i.e., a "Transfer-Encoding\0: chunked" header is treated the same as a "Transfer-Encoding: chunked" header.

A flaw was found in the Libsoup library. When Libsoup parses HTTP headers, it ignores null bytes at the end of header names. Thus, Transfer-Encoding: chunked is equivalent to Transfer-Encoding\x00: chunked. This issue allows request smuggling when Libsoup is used in a service behind a reverse proxy that forwards null bytes without stripping them.