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

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-29T12:56:22.726Z
- Modified: 2026-11-24T10:17:34.907Z
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libsoup3: no versions given (not affected: from 0:3.6.5-3.el10_0.6 before *)
- libsoup: no versions given

## References

- <https://gitlab.gnome.org/GNOME/libsoup/-/work_items/443> (exploit)
- <https://access.redhat.com/errata/RHSA-2025:8128> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-4035> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2362651> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/libsoup/-/issues/443>

## Sources

- CVE List: [CVE-2025-4035](https://www.cve.org/CVERecord?id=CVE-2025-4035), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2025-4035](https://nvd.nist.gov/vuln/detail/CVE-2025-4035), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2025-4035 · Whole record: https://cve.day/CVE-2025-4035.json · Rebuilt by cve.day 2026-11-25T22:58:57.079Z
