CVE-2026-66338

Libsoup: libsoup: http request smuggling via permissive chunk-size parsing in soup_body_input_stream_read_chunked()

Published Jul 24, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in libsoup. The chunked transfer encoding parser uses a permissive parsing function for chunk sizes that silently accepts inputs violating RFC 9112, including leading whitespace, plus sign prefixes, and trailing invalid characters. When libsoup operates behind a strict frontend proxy, this parsing differential can be exploited to smuggle HTTP requests.

Analysis

AI-generated

Technical impact

The flaw lies in libsoup's chunked transfer encoding parser. The parser uses a permissive routine that accepts chunk size values which violate RFC 9112, such as leading whitespace, plus sign prefixes, or trailing invalid characters. When libsoup processes requests behind a strictly RFC‑compliant frontend proxy, this discrepancy allows an attacker to smuggle a second HTTP request into the body of the first, effectively injecting a hidden request that the downstream service will treat as a distinct request. Under the CWE‑444 classification, the vulnerability is an input‑validation error that can compromise the integrity of the application logic by enabling covert request injection.

Affected Systems

All supported Red Hat Enterprise Linux releases from 6 through 10 contain the vulnerable libsoup component. Each of these operating systems ships the unpatched version until Red Hat issues a security update for that distro. Availability of the fix is included in the standard RHEL update channels for each version.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. The EPSS score is less than 1%, implying a very low likelihood of exploitation at the time of assessment. The vulnerability is not listed in the CISA KEV catalog. An attacker would need to send specially crafted requests that exploit the permissive chunk-size parsing while the traffic is routed through a proxy that enforces RFC compliance. This typically requires remote network access to the proxied server or an internal attacker with network privileges, but no local privileges or direct system access are needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the libsoup package to the patched release that Red Hat distributes for RHEL 6, 7, 8, 9, and 10.
  • If a patch is unavailable, reconfigure any frontend proxy to enforce strict RFC 9112 chunked transfer rules or disable chunked encoding for downstream services.
  • Deploy firewall or WAF rules that detect and block malformed chunk size headers—such as those containing leading spaces or plus signs—to prevent request smuggling.

Generated by OpenCVE AI on August 5, 2026 at 01:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Gnome
Gnome libsoup
CPEs cpe:2.3:a:gnome:libsoup:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Vendors & Products Gnome
Gnome libsoup
Type Values Removed Values Added
First Time appeared Libsoup
Libsoup libsoup
Vendors & Products Libsoup
Libsoup libsoup
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in libsoup. The chunked transfer encoding parser uses a permissive parsing function for chunk sizes that silently accepts inputs violating RFC 9112, including leading whitespace, plus sign prefixes, and trailing invalid characters. When libsoup operates behind a strict frontend proxy, this parsing differential can be exploited to smuggle HTTP requests.
Title Libsoup: libsoup: http request smuggling via permissive chunk-size parsing in soup_body_input_stream_read_chunked()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-444
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 7:27 PM
Reserved
Jul 24, 2026, 10:32 PM
Status
Analyzed
Published
Jul 24, 2026, 11:16 PM
Modified
Nov 6, 2026, 8:17 PM