CVE-2026-66338
Medium · 5.4CVSS
5.4
EPSS
0.3%
Published
Jul 24, 2026
CISA due date
—
Cloudanix analysis
A web library used by many Linux systems can misread certain web requests, letting attackers slip extra commands past security checks when a strict filter sits in front of it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The chunked transfer encoding parser in libsoup accepts malformed chunk-size values (leading whitespace, plus prefixes, trailing garbage) that violate RFC 9112, creating a parsing differential versus strict proxies that enables HTTP request smuggling.
Why it matters to the business
Organizations running affected libsoup deployments behind strict front-end proxies face risk of request smuggling attacks that can bypass access controls or reach internal endpoints; the flaw has been publicly exploitable for over three months with no vendor fixes listed yet.
How an attack unfolds
An attacker sends a chunked HTTP request containing an invalid chunk-size token that the permissive libsoup parser accepts but a strict proxy rejects or interprets differently, causing the proxy and backend to disagree on request boundaries and allowing the attacker to inject a second, hidden request that reaches protected resources.
How to fix it
Upgrade gnome libsoup and Red Hat Enterprise Linux packages to the first patched releases that enforce strict RFC 9112 chunk-size parsing; until updates are available, place additional strict validation or request normalization in front of affected services and monitor vendor advisories for fixed versions.
How to confirm the fix worked
Test the service with deliberately malformed chunk-size requests containing leading spaces and plus signs; confirm that the backend no longer processes smuggling attempts after the update and that proxy and application produce identical request boundaries.
Typical attack path
- Identify a libsoup-based service operating behind a strict HTTP proxy
- Craft a chunked request with leading whitespace or plus-prefixed chunk size
- Send the request so the proxy and libsoup disagree on message framing
- Smuggle a second HTTP request that bypasses proxy-enforced controls
- Reach internal endpoints or perform actions not intended by the proxy policy
How to detect it
Search HTTP access and proxy logs for chunk-size tokens containing leading whitespace, plus signs, or trailing non-hex characters; look for request sequences where the proxy and backend record different numbers of requests or differing request lengths on the same connection.
- chunk-size value with leading space or tab
- chunk-size starting with '+'
- chunk-size containing trailing non-hex characters before CRLF
- mismatch between proxy-reported request count and backend request count on same TCP connection
What your security team should do
- Prioritize patching libsoup on all Red Hat Enterprise Linux and GNOME-based systems as soon as fixed packages are released
- Deploy or enable strict HTTP request validation at the proxy layer to reject non-compliant chunked encoding
- Add detection rules for chunk-size anomalies in HTTP request logs until patches are applied
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121439 Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 contains a response splitting… CWE-444
- CVE-2026-121441 Wasmtime before 36.0.19, 37.0.0 before 48.0.7, and 49.0.0 before 49.0.4 contains a… CWE-444
- CVE-2026-55613 uhttpd is a small HTTP server. CWE-444
- CVE-2026-55614 uhttpd is a small HTTP server. CWE-444
- CVE-2026-55612 uhttpd is a small HTTP server. CWE-444
- CVE-2026-116127 Starlet versions before 0.33 for Perl send a body in responses to HEAD requests… CWE-444
- CVE-2026-91920 A flaw was found in the ChunkReader component of the Undertow web server, which is used… CWE-444
- CVE-2026-118264 Echo is a Go web framework. CWE-444