CVE-2025-4476: Libsoup: null pointer dereference in libsoup may lead to denial of service
A denial-of-service vulnerability has been identified in the libsoup HTTP client library. This flaw can be triggered when a libsoup client receives a 401 (Unauthorized) HTTP response containing a specifically crafted domain parameter within the WWW-Authenticate header. Processing this malformed header can lead to a crash of the client application using libsoup. An attacker could exploit this by setting up a malicious HTTP server. If a user's application using the vulnerable libsoup library connects to this malicious server, it could result in a denial-of-service. Successful exploitation requires tricking a user's client application into connecting to the attacker's malicious server.
Other sources
libsoup is vulnerable to a null pointer dereference in the soupauthdigestgetprotectionspace() function. An HTTP server may crash the libsoup client by responding with a 401 Unauthorized response in combination with a crafted domain parameter in the WWW-Authenticate header.
— Red Hat
Libsoup: null pointer dereference in libsoup may lead to denial of service
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.0.4-7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.4.4-7 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.52.2-1ubuntu0.3+esm3 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.62.1-1ubuntu0.4+esm4 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.70.0-1ubuntu0.5 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.2-3ubuntu0.5 - Upgrade
Upgrade
ubuntu/libsoup3to a version that resolves this vulnerability.Fixed in 3.0.7-0ubuntu1+esm4 - Upgrade
Upgrade
ubuntu/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.3-6ubuntu1.5 - Upgrade
Upgrade
ubuntu/libsoup3to a version that resolves this vulnerability.Fixed in 3.4.4-5ubuntu0.4 - 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
Event History
Frequently Asked Questions
What is the severity of CVE-2025-4476?
CVE-2025-4476 is classified as a denial-of-service vulnerability that can disrupt the functionality of applications using the libsoup HTTP client library.
How do I fix CVE-2025-4476?
To fix CVE-2025-4476, users should update their libsoup library to a version that addresses this vulnerability as provided by the vendor.
What systems are affected by CVE-2025-4476?
CVE-2025-4476 affects systems using the GNOME libsoup HTTP client library.
What happens if CVE-2025-4476 is exploited?
If exploited, CVE-2025-4476 can lead to a denial-of-service condition, causing the libsoup client to malfunction or become unresponsive.
Is CVE-2025-4476 easy to exploit?
CVE-2025-4476 can be triggered by sending a specific 401 Unauthorized HTTP response with a crafted domain parameter, making exploitation relatively straightforward.