CVE-2025-4035
Libsoup: cookie domain validation bypass via uppercase characters in libsoup
Reported by redhat · Published April 29, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.6.5-3.el10_0.6 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.6.5-3.el10_0.6 |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat In-Vehicle Operating System 1 | |
| Red Hat | Red Hat Enterprise Linux 7 |
Timeline
- Apr 29, 2025 Coalition ESS Score (15 in total, the first dated here)
- Apr 29, 2025 CVE Published
- Apr 30, 2025 EPSS Score (30 in total, the first dated here)
- Dec 15, 2025 CVE Updated
- Apr 1, 2026 Distribution Patch
- Apr 1, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4035
vulnetix vdb fixes CVE-2025-4035
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4035/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:8128 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2362651 issue-trackingx_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/libsoup/-/work_items/443 exploit