cve.bz

CVE-2026-77680 Libsoup3: libsoup: quadratic cpu denial of service in http range coalescing after cve-2025-32907 fix

5.3 mediumEPSS 0.5%

Medium (5.3) in red hat red hat enterprise linux 10. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
An algorithmic complexity flaw exists in libsoup's HTTP Range header processing that persists after the CVE-2025-32907 fix. CVE-2025-32907 addressed memory amplification when a client repeated the same range many times in a single Range header. Commit 9bb92f7a corrected merge correctness in soup_message_headers_get_ranges_internal() in libsoup/soup-message-headers.c, but the coalescing loop still removes merged ranges using g_array_remove_index() for each coalesced element. Because GArray is contiguous, each mid-array removal performs an O(N) memmove. When many identical satisfiable ranges are supplied (for example bytes=0-0 repeated thousands of times), the loop performs O(N²) work coalescing them into a single range. The vulnerable path is reachable server-side from handle_partial_get() in libsoup/server/http1/soup-server-message-io-http1.c when a SoupServer handler returns HTTP 200 with a non-empty body. No authentication is required. The number of ranges is bounded only by the maximum request header size (~100 KiB), allowing roughly 25,000 ranges per request. Reporter measurements on libsoup HEAD containing the CVE-2025-32907 fix show ~90 ms single-core CPU per such request at the wire maximum, blocking the server's event loop for that duration. This is a CPU exhaustion / availability issue only. No memory corruption or information disclosure occurs. Affected: libsoup versions containing the CVE-2025-32907 fix but not merge request !550. Fixed upstream: MR !550 merged 2026-08-20, replacing per-element removal with O(N) in-place compaction and rejecting Range headers requesting more than 200 ranges. Upstream report: https://gitlab.gnome.org/GNOME/libsoup/-/issues/538 Related: CVE-2025-32907

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-77680 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-77680?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-77680?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-77680 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libsoup3, libsoup2.4no fix listedDEBIAN-CVE-2026-77680
Ubuntu22.04:LTSlibsoup2.42.74.2-3ubuntu0.9UBUNTU-CVE-2026-77680 USN-8890-1
Ubuntu24.04:LTSlibsoup2.42.74.3-6ubuntu1.9UBUNTU-CVE-2026-77680 USN-8890-1
Ubuntu24.04:LTSlibsoup33.4.4-5ubuntu0.9UBUNTU-CVE-2026-77680 USN-8890-1
Ubuntu26.04:LTSlibsoup33.6.6-1ubuntu0.1UBUNTU-CVE-2026-77680 USN-8890-1
Ubuntu26.10libsoup2.4no fix listedUBUNTU-CVE-2026-77680
Ubuntu26.10libsoup33.6.6-1ubuntu3UBUNTU-CVE-2026-77680 USN-8890-2
UbuntuPro:16.04:LTSlibsoup2.42.52.2-1ubuntu0.3+esm8UBUNTU-CVE-2026-77680 USN-8890-1
UbuntuPro:18.04:LTSlibsoup2.42.62.1-1ubuntu0.4+esm9UBUNTU-CVE-2026-77680 USN-8890-1
UbuntuPro:20.04:LTSlibsoup2.42.70.0-1ubuntu0.5+esm4UBUNTU-CVE-2026-77680 USN-8890-1
UbuntuPro:22.04:LTSlibsoup33.0.7-0ubuntu1+esm9UBUNTU-CVE-2026-77680 USN-8890-1
UbuntuPro:26.04:LTSlibsoup2.42.74.3-10.1ubuntu5+esm3UBUNTU-CVE-2026-77680 USN-8890-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibsoup22.74.3-150400.3.43.1SUSE-SU-2026:4739-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6libsoup22.74.3-150600.4.42.1SUSE-SU-2026:4703-1
openSUSETumbleweedlibsoup22.74.3-23.1openSUSE-SU-2026:11860-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

An inefficient algorithm flaw was found in libsoup. After the fix for CVE-2025-32907, coalescing overlapping HTTP Range values still performed quadratic work when many identical ranges were supplied in one request. A remote attacker could send a crafted HTTP request to a SoupServer-based application to consume excessive CPU and reduce availability for other clients.

Red Hat's mitigation

Upgrade to a libsoup version containing merge request !550 (O(N) range coalescing and 200-range limit). Until patched, restrict network access to services using SoupServer, or terminate connections that send Range headers with excessive range counts.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libsoup3Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-77680.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON