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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-26)
- **CWE:** CWE-407
- **Published:** 2026-08-25T20:36:45.808Z
- **Modified:** 2026-11-25T00:17:14.280Z

## Who should check

- Anyone running Red Hat Enterprise Linux 10 all versions

## Description

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

## Affected and fixed versions

- Red Hat Enterprise Linux 10: all versions (cvelist)

## Mitigation

- Vendor workaround: 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77680. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77680.md
Affected: Red Hat Enterprise Linux 10 all versions
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77680 being exploited?

There is no confirmed exploitation: CVE-2026-77680 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-77680?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-77680?

Red Hat Enterprise Linux 10 all versions.

### Is there a fix for CVE-2026-77680?

No fixed version is listed in the sources yet. Vendor workaround: 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.

### How do I check if I'm affected by CVE-2026-77680?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <https://gitlab.gnome.org/GNOME/libsoup/-/issues/538>
- article: <https://access.redhat.com/security/cve/CVE-2025-32907>
- other: <https://access.redhat.com/security/cve/CVE-2026-77680>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2520892>
- other: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/550>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77680>

HTML: <https://flawdb.com/CVE-2026-77680> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77680>
