CVEfocus › CVE database › CVE-2025-4035

CVE-2025-4035Libsoup: cookie domain validation bypass via uppercase characters in libsoup

CVSS 4.3 MediumEPSS 0.5% (higher than 47% of CVEs)Published 2025-04-29Updated 2026-11-24Assigner: redhat

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.

CWE-178

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

5Fixed
20Fix pending
4Under investigation
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libsoup2.4Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 26.10libsoup3Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 26.04libsoup2.4Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 26.04libsoup3Under investigationUBUNTU-CVE-2025-4035
Ubuntu 25.10libsoup2.4Will 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.10libsoup3Will 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.04libsoup2.4Under investigationUBUNTU-CVE-2025-4035
Ubuntu 24.04libsoup3Under investigationUBUNTU-CVE-2025-4035
Ubuntu 22.04libsoup2.4Under investigationUBUNTU-CVE-2025-4035
Ubuntu 22.04libsoup3Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 20.04libsoup2.4Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 18.04libsoup2.4Fix pendingUBUNTU-CVE-2025-4035
Ubuntu 16.04libsoup2.4Fix pendingUBUNTU-CVE-2025-4035
Debian 14libsoupFix pendingDEBIAN-CVE-2025-4035
Debian 13libsoup2.4Fix pendingDEBIAN-CVE-2025-4035
Debian 13libsoup3Fix pendingDEBIAN-CVE-2025-4035
Debian 12libsoup2.4Fix pendingDEBIAN-CVE-2025-4035
Debian 12libsoup3Fix pendingDEBIAN-CVE-2025-4035
Red Hat Enterprise Linux 10libsoup3Fixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 10libsoup3-develFixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 10libsoup3-docFixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 9libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 9libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 8libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 7libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 6libsoup-develFix pending
Fix deferred
AlmaLinux 10libsoup3-docFixed3.6.5-3.el10_0.6ALSA-2025:8128
Rocky Linux 10libsoup3Fixed0:3.6.5-3.el10_0.6RLSA-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.

Vendor advisories:

References

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.