Libsoup2.4: A flaw was found in libsoup. The chunked transfer encoding parser uses a permissive parsing function for chunk sizes that silently accepts inputs… (CVE-2026-66338)
Affects libsoup2.4Source GCVE Database
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu:Pro:16.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in– |
Ubuntu:Pro:18.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu:Pro:20.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu:22.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu:Pro:22.04:LTSlibsoup3pkg:deb/ubuntu/libsoup3?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu:24.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu:24.04:LTSlibsoup3pkg:deb/ubuntu/libsoup3?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu:26.10libsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:26.10libsoup3pkg:deb/ubuntu/libsoup3?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:26.04:LTSlibsoup3pkg:deb/ubuntu/libsoup3?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu:Pro:26.04:LTSlibsoup2.4pkg:deb/ubuntu/libsoup2.4?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Given the limited practical impact, immediate urgent action may not be necessary unless libsoup is deployed in a vulnerable configuration behind strict proxies.
Description
A vulnerability in libsoup's chunked transfer encoding parser allows permissive parsing of chunk sizes that violate RFC 9112. This flaw can lead to HTTP request smuggling when libsoup is used behind a strict frontend proxy. The parser accepts chunk sizes with leading whitespace, plus sign prefixes, and trailing invalid characters. The practical impact is limited because libsoup servers are rarely deployed in internet-facing roles behind reverse proxies. The vulnerability has a CVSS score of 7.2, indicating a medium severity level.
Impact
The vulnerability can lead to HTTP request smuggling attacks when libsoup is used behind a strict frontend proxy. This could allow an attacker to bypass security controls or interfere with HTTP request processing. However, the practical impact is limited because libsoup servers are rarely deployed in internet-facing roles behind reverse proxies. No known exploits in the wild have been reported.
Summary
The libsoup2.4 library contains a vulnerability in its chunked transfer encoding parser where the parser uses a permissive function to parse chunk sizes. This function accepts inputs that violate RFC 9112, including chunk sizes with leading whitespace, plus signs, and trailing invalid characters. This behavior can enable HTTP request smuggling attacks if libsoup is deployed behind a strict frontend proxy that enforces stricter parsing rules. The vulnerability affects multiple specific versions of libsoup2.4 as listed, but the practical impact is limited due to typical deployment scenarios. There is no explicit patch or remediation information provided in the input data.
Weaknesses
References
- nvd.nist.gov/vuln/detail/CVE-2026-66338 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-66338 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2506950 (opens in a new tab)
- ubuntu.com/security/CVE-2026-66338 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-66338 (opens in a new tab)
- gitlab.gnome.org/GNOME/libsoup/-/work_items/533 (opens in a new tab)
- gitlab.gnome.org/GNOME/libsoup/-/merge_requests/563 (opens in a new tab)