CVE-2025-4035

Libsoup: cookie domain validation bypass via uppercase characters in libsoup

State
Published
Severity
4.3 Medium
Published
Apr 29, 2025
Updated
Jun 30, 2026
Reserved
Apr 28, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-178 Improper Handling of Case Sensitivity

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:3.6.5-3.el10_0.6 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Enterprise Linux 9Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.