CVE-2025-32907
published 2025-04-14CVE-2025-32907: A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to…
PriorityP428medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.70%
52.4th percentile
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory. This does not allow for a full denial of service.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libsoup2.4 | < libsoup3 3.6.5-2 (forky) | libsoup3 3.6.5-2 (forky) |
| debian | libsoup3 | < libsoup3 3.6.5-2 (forky) | libsoup3 3.6.5-2 (forky) |
| debian | libsoup3 | — | — |
| msrc | azl3_libsoup_3.4.4-7_on_azure_linux_3.0 | — | — |
| msrc | cbl2_libsoup_3.0.4-7_on_cbl_mariner_2.0 | — | — |
| msrc | cm2_libsoup_3.0.4-7_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
An algorithmic complexity flaw exists in libsoup's HTTP Range header processing that persists after the CVE-2025-32907 fix.
ghsa_unreviewed·2026-08-25·CVSS 5.3
CVE-2026-77680 [MEDIUM] CWE-407 An algorithmic complexity flaw exists in libsoup's HTTP Range header processing that persists after the CVE-2025-32907 fix.
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(
OSV
libsoup3, libsoup2.4 vulnerabilities
osv·2025-07-17·CVSS 5.3
CVE-2025-32907 [MEDIUM] libsoup3, libsoup2.4 vulnerabilities
libsoup3, libsoup2.4 vulnerabilities
Jan Różański discovered that libsoup incorrectly handled range headers in
an HTTP request. An attacker could possibly use this issue to cause libsoup
to consume excessive memory, resulting in a denial of service.
(CVE-2025-32907)
Alon Zahavi discovered that libsoup incorrectly handled memory when parsing
HTTP requests. An attacker could possibly use this issue to send a
maliciously crafted HTTP request to the server, causing a denial of service
or obtaining sensitive information. This issue only affected Ubuntu 25.04.
(CVE-2025-32914)
It was discovered that libsoup incorrectly handled memory when parsing
the expiration date of maliciously crafted cookies. An attacker could
possibly use this issue to cause a denial of service. (CVE-2025-4945)
It was
GHSA
GHSA-7wfq-7p2f-6344: A flaw was found in libsoup
ghsa_unreviewed·2025-04-14
CVE-2025-32907 [HIGH] CWE-1050 GHSA-7wfq-7p2f-6344: A flaw was found in libsoup
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory.
OSV
CVE-2025-32907: A flaw was found in libsoup
osv·2025-04-14·CVSS 5.3
CVE-2025-32907 [MEDIUM] CVE-2025-32907: A flaw was found in libsoup
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory. This does not allow for a full denial of service.
Red Hat
libsoup3: libsoup: quadratic CPU denial of service in HTTP Range coalescing after CVE-2025-32907 fix
vendor_redhat·2026-08-21·CVSS 5.3
CVE-2026-77680 [MEDIUM] CWE-407 libsoup3: libsoup: quadratic CPU denial of service in HTTP Range coalescing after CVE-2025-32907 fix
libsoup3: libsoup: quadratic CPU denial of service in HTTP Range coalescing after CVE-2025-32907 fix
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 coales
Ubuntu
libsoup vulnerabilities
vendor_ubuntu·2025-07-17·CVSS 5.3
CVE-2025-4969 [MEDIUM] libsoup vulnerabilities
Title: libsoup vulnerabilities
Summary: Several security issues were fixed in libsoup.
Jan Różański discovered that libsoup incorrectly handled range headers in
an HTTP request. An attacker could possibly use this issue to cause libsoup
to consume excessive memory, resulting in a denial of service.
(CVE-2025-32907)
Alon Zahavi discovered that libsoup incorrectly handled memory when parsing
HTTP requests. An attacker could possibly use this issue to send a
maliciously crafted HTTP request to the server, causing a denial of service
or obtaining sensitive information. This issue only affected Ubuntu 25.04.
(CVE-2025-32914)
It was discovered that libsoup incorrectly handled memory when parsing
the expiration date of maliciously crafted cookies. An attacker could
possibly use this issue to
Red Hat
libsoup: Denial of service in server when client requests a large amount of overlapping ranges with Range header
vendor_redhat·2025-04-14·CVSS 5.3
CVE-2025-32907 [MEDIUM] CWE-1050 libsoup: Denial of service in server when client requests a large amount of overlapping ranges with Range header
libsoup: Denial of service in server when client requests a large amount of overlapping ranges with Range header
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory. This does not allow for a full denial of service.
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory. This does not allow for a full denial of service.
Mitigation: Currently, no mitigation was found
Microsoft
Libsoup: denial of service in server when client requests a large amount of overlapping ranges with range header
vendor_msrc·2025-04-08·CVSS 5.3
CVE-2025-32907 [MEDIUM] CWE-1050 Libsoup: denial of service in server when client requests a large amount of overlapping ranges with range header
Libsoup: denial of service in server when client requests a large amount of overlapping ranges with range header
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Debian
CVE-2025-32907: libsoup2.4 - A flaw was found in libsoup. The implementation of HTTP range requests is vulner...
vendor_debian·2025·CVSS 5.3
CVE-2025-32907 [MEDIUM] CVE-2025-32907: libsoup2.4 - A flaw was found in libsoup. The implementation of HTTP range requests is vulner...
A flaw was found in libsoup. The implementation of HTTP range requests is vulnerable to a resource consumption attack. This flaw allows a malicious client to request the same range many times in a single HTTP request, causing the server to use large amounts of memory. This does not allow for a full denial of service.
Scope: local
bookworm: open
bullseye: open
trixie: open
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2025:4439https://access.redhat.com/errata/RHSA-2025:4440https://access.redhat.com/errata/RHSA-2025:4508https://access.redhat.com/errata/RHSA-2025:7436https://access.redhat.com/errata/RHSA-2025:8128https://access.redhat.com/errata/RHSA-2025:8292https://access.redhat.com/security/cve/CVE-2025-32907https://bugzilla.redhat.com/show_bug.cgi?id=2359342https://gitlab.gnome.org/GNOME/libsoup/-/issues/428
2025-04-14
Published