Libsoup2.4: A flaw was found in libsoup. An unsigned integer underflow in the soup_filter_input_stream_read_until() function causes a heap buffer over-read when… (CVE-2026-66337)
Affects libsoup2.4Source GCVE Database
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEs
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LWhat to do
AI-suggested
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid interacting with untrusted or malicious HTTP servers that may send crafted multipart responses.
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.
Description
A vulnerability in libsoup2.4's soup_filter_input_stream_read_until() function causes an unsigned integer underflow, leading to a heap buffer over-read when parsing multipart HTTP responses. This flaw can be triggered by a malicious HTTP server sending crafted multipart responses, potentially causing client crashes or disclosure of sensitive heap memory. The issue affects multiple specific versions of libsoup2.4. The CVSS score is 6.5, indicating a medium severity level.
Weaknesses
References
- nvd.nist.gov/vuln/detail/CVE-2026-66337 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-66337 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2506949 (opens in a new tab)
- ubuntu.com/security/CVE-2026-66337 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-66337 (opens in a new tab)
- gitlab.gnome.org/GNOME/libsoup/-/work_items/532 (opens in a new tab)
- gitlab.gnome.org/GNOME/libsoup/-/merge_requests/557 (opens in a new tab)