CVE-2025-4035Libsoup: cookie domain validation bypass via uppercase characters in libsoup
A flaw was found in libsoup. When handling cookies, libsoup clients mistakenly allow cookies to be set for public suffix domains if the domain contains at least two components and includes an uppercase character. This bypasses public suffix protections and could allow a malicious website to set cookies for domains it does not own, potentially leading to integrity issues such as session fixation.
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: 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.10 | libsoup2.4 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 26.10 | libsoup3 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 26.04 | libsoup2.4 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 26.04 | libsoup3 | Under investigation | UBUNTU-CVE-2025-4035 | |
| Ubuntu 25.10 | libsoup2.4 | Will not fix may require epiphany-browser change, see: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1800 as of 2026-03-11, the proposed fix for this issue has… | UBUNTU-CVE-2025-4035 | |
| Ubuntu 25.10 | libsoup3 | Will not fix may require epiphany-browser change, see: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1800 as of 2026-03-11, the proposed fix for this issue has… | UBUNTU-CVE-2025-4035 | |
| Ubuntu 24.04 | libsoup2.4 | Under investigation | UBUNTU-CVE-2025-4035 | |
| Ubuntu 24.04 | libsoup3 | Under investigation | UBUNTU-CVE-2025-4035 | |
| Ubuntu 22.04 | libsoup2.4 | Under investigation | UBUNTU-CVE-2025-4035 | |
| Ubuntu 22.04 | libsoup3 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 20.04 | libsoup2.4 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 18.04 | libsoup2.4 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Ubuntu 16.04 | libsoup2.4 | Fix pending | UBUNTU-CVE-2025-4035 | |
| Debian 14 | libsoup | Fix pending | DEBIAN-CVE-2025-4035 | |
| Debian 13 | libsoup2.4 | Fix pending | DEBIAN-CVE-2025-4035 | |
| Debian 13 | libsoup3 | Fix pending | DEBIAN-CVE-2025-4035 | |
| Debian 12 | libsoup2.4 | Fix pending | DEBIAN-CVE-2025-4035 | |
| Debian 12 | libsoup3 | Fix pending | DEBIAN-CVE-2025-4035 | |
| Red Hat Enterprise Linux 10 | libsoup3 | Fixed | 0:3.6.5-3.el10_0.6 | RHSA-2025:8128 |
| Red Hat Enterprise Linux 10 | libsoup3-devel | Fixed | 0:3.6.5-3.el10_0.6 | RHSA-2025:8128 |
| Red Hat Enterprise Linux 10 | libsoup3-doc | Fixed | 0:3.6.5-3.el10_0.6 | RHSA-2025:8128 |
| 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 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libsoup-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libsoup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libsoup-devel | Fix pending Fix deferred | ||
| AlmaLinux 10 | libsoup3-doc | Fixed | 3.6.5-3.el10_0.6 | ALSA-2025:8128 |
| Rocky Linux 10 | libsoup3 | Fixed | 0:3.6.5-3.el10_0.6 | RLSA-2025:8128 |
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.
- 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
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2025:8128 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:8128
- https://access.redhat.com/security/cve/CVE-2025-4035
- https://bugzilla.redhat.com/show_bug.cgi?id=2362651
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/443
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.