CVE-2025-4476Libsoup: 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libsoup3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libsoup2.4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libsoup3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libsoup2.4 | Fixed | 2.74.3-6ubuntu1.5 | UBUNTU-CVE-2025-4476 |
| Ubuntu 24.04 | libsoup3 | Fixed | 3.4.4-5ubuntu0.4 | UBUNTU-CVE-2025-4476 |
| Ubuntu 22.04 | libsoup2.4 | Fixed | 2.74.2-3ubuntu0.5 | UBUNTU-CVE-2025-4476 |
| Ubuntu 22.04 | libsoup3 | Fix pending | 3.0.7-0ubuntu1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-4476 |
| Ubuntu 20.04 | libsoup2.4 | Fixed | 2.70.0-1ubuntu0.5 | UBUNTU-CVE-2025-4476 |
| Ubuntu 18.04 | libsoup2.4 | Fix pending | 2.62.1-1ubuntu0.4+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-4476 |
| Ubuntu 16.04 | libsoup2.4 | Fix pending | 2.52.2-1ubuntu0.3+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-4476 |
| Debian 13 | libsoup2.4 | Fix pending | DEBIAN-CVE-2025-4476 | |
| Debian 13 | libsoup3 | Fixed | 3.6.5-2 | DEBIAN-CVE-2025-4476 |
| Debian 12 | libsoup2.4 | Fix pending | DEBIAN-CVE-2025-4476 | |
| Debian 12 | libsoup3 | Fix pending | DEBIAN-CVE-2025-4476 | |
| Red Hat Enterprise Linux 10 | libsoup3 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsoup3-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsoup3-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libsoup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libsoup-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libsoup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libsoup-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libsoup | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libsoup-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsoup | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsoup-devel | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libsoup: affected: before 3.6.6; fixed in
3.6.6 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: To mitigate the risk posed by this libsoup vulnerability, Red Hat strongly advises against connecting client applications relying on the libsoup library to untrusted HTTP servers until systems can be updated to a version of libsoup that includes the fix for this specific flaw. This precaution will help prevent potential denial-of-service scenarios within user sessions.
References
- https://access.redhat.com/security/cve/CVE-2025-4476
- https://bugzilla.redhat.com/show_bug.cgi?id=2366513
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/440
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.