CVE-2025-4969: Libsoup: off-by-one out-of-bounds read in find_boundary() in soup-multipart.c
A vulnerability was found in the libsoup package. This flaw stems from its failure to correctly verify the termination of multipart HTTP messages. This can allow a remote attacker to send a specially crafted multipart HTTP body, causing the libsoup-consuming server to read beyond its allocated memory boundaries (out-of-bounds read).
Other sources
In libsoup's soup-form.c, the function findboundary() is vulnerable to a buffer under-read issue when the function attempts to locate the boundary in a multipart form. If a malicious client submits a malformed multipart body, the function will attempt to read out of bonds.
— Red Hat
Libsoup: off-by-one out-of-bounds read in findboundary() in soup-multipart.c
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.52.2-1ubuntu0.3+esm5 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.62.1-1ubuntu0.4+esm6 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.70.0-1ubuntu0.5+esm1 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.2-3ubuntu0.6 - Upgrade
Upgrade
ubuntu/libsoup3to a version that resolves this vulnerability.Fixed in 3.0.7-0ubuntu1+esm5 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.3-6ubuntu1.6 - Upgrade
Upgrade
ubuntu/libsoup3to a version that resolves this vulnerability.Fixed in 3.4.4-5ubuntu0.5 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.3-10.1ubuntu4 - Upgrade
Upgrade
ubuntu/libsoup3to a version that resolves this vulnerability.Fixed in 3.6.5-3 - Upgrade
Upgrade
debian/libsoup3to a version that resolves this vulnerability.Fixed in 3.6.5-2 - Upgrade
Upgrade
debian/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.72.0-2+deb11u3Fixed in 2.74.3-11 - Upgrade
Upgrade
azurelinux/libsoupto a version that resolves this vulnerability.Fixed in 3.0.4-9 - Upgrade
Upgrade
azurelinux/libsoupto a version that resolves this vulnerability.Fixed in 3.4.4-9
Event History
Frequently Asked Questions
What is the severity of CVE-2025-4969?
CVE-2025-4969 has been rated as a high severity vulnerability due to its potential to allow remote code execution.
How does CVE-2025-4969 affect libsoup?
CVE-2025-4969 affects libsoup by allowing attackers to exploit multipart HTTP message handling, leading to potential memory corruption.
How do I fix CVE-2025-4969?
To fix CVE-2025-4969, update libsoup to the latest version where the vulnerability has been patched.
Who is impacted by CVE-2025-4969?
Users and applications relying on the vulnerable libsoup library are impacted by CVE-2025-4969.
What can an attacker do with CVE-2025-4969?
An attacker can exploit CVE-2025-4969 to send specially crafted HTTP requests that may lead to unauthorized access or server crashes.