CVE-2025-4476: Libsoup: null pointer dereference in libsoup may lead to denial of service

Published May 15, 2025
·
Updated

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

16 affected componentsFixes available
Microsoft cbl2 libsoup 3.0.4-7<3.0.4-7
3.0.4-7
Microsoft azl3 libsoup 3.4.4-7<3.4.4-7
3.4.4-7
Microsoft cm2 libsoup 3.0.4-7<3.0.4-7
3.0.4-7
ubuntu/libsoup2.4<2.52.2-1ubuntu0.3+esm3
2.52.2-1ubuntu0.3+esm3
ubuntu/libsoup2.4<2.62.1-1ubuntu0.4+esm4
2.62.1-1ubuntu0.4+esm4
ubuntu/libsoup2.4<2.70.0-1ubuntu0.5
2.70.0-1ubuntu0.5
ubuntu/libsoup2.4<2.74.2-3ubuntu0.5
2.74.2-3ubuntu0.5
ubuntu/libsoup3<3.0.7-0ubuntu1+esm4
3.0.7-0ubuntu1+esm4
ubuntu/libsoup2.4<2.74.3-6ubuntu1.5
2.74.3-6ubuntu1.5
ubuntu/libsoup3<3.4.4-5ubuntu0.4
3.4.4-5ubuntu0.4
debian/libsoup2.4*
debian/libsoup2.4*
debian/libsoup3*
debian/libsoup3<3.6.5-2
3.6.5-2
debian/libsoup2.4<=2.74.3-1+deb12u1, <=2.74.3-10.1
2.72.0-2+deb11u32.74.3-11
debian/libsoup3<=3.2.3-0+deb12u2
3.6.5-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.4-7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.4.4-7
  3. Upgrade

    Upgrade ubuntu/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.52.2-1ubuntu0.3+esm3
  4. Upgrade

    Upgrade ubuntu/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.62.1-1ubuntu0.4+esm4
  5. Upgrade

    Upgrade ubuntu/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.70.0-1ubuntu0.5
  6. Upgrade

    Upgrade ubuntu/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.74.2-3ubuntu0.5
  7. Upgrade

    Upgrade ubuntu/libsoup3 to a version that resolves this vulnerability.

    Fixed in 3.0.7-0ubuntu1+esm4
  8. Upgrade

    Upgrade ubuntu/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.74.3-6ubuntu1.5
  9. Upgrade

    Upgrade ubuntu/libsoup3 to a version that resolves this vulnerability.

    Fixed in 3.4.4-5ubuntu0.4
  10. Upgrade

    Upgrade debian/libsoup3 to a version that resolves this vulnerability.

    Fixed in 3.6.5-2
  11. Upgrade

    Upgrade debian/libsoup2.4 to a version that resolves this vulnerability.

    Fixed in 2.72.0-2+deb11u3Fixed in 2.74.3-11

Event History

May 15, 2025
Data Sourced
via Red Hat·02:24 PM
DescriptionSeverityAffected Software
May 16, 2025
CVE Published
via MITRE·05:56 PM
Data Sourced
via MITRE·05:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
WeaknessAffected Software
Oct 9, 2025
Exploit Published
via GitHub·07:51 PM
Aug 13, 2026
Updated
via Microsoft·05:40 AM
Weakness
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

What systems are affected by CVE-2025-4476?

CVE-2025-4476 affects systems using the GNOME libsoup HTTP client library.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203