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

Published Apr 28, 2025
·
Updated

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.

Other sources

Libsoup: cookie domain validation bypass via uppercase characters in libsoup

— Microsoft

When handling cookies, libsoup clients improperly validate domain names containing uppercase characters, allowing malicious websites to set cookies for public suffix domains and bypass expected isolation boundaries.

— Red Hat

Affected Software

34 affected components
Gnome libsoup
All of the following
azurelinux/libsoup=3.0.4-9
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/libsoup=3.0.4-10
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/libsoup=3.4.4-11
Microsoft Azure Linux=3.0
All of the following
azurelinux/libsoup=3.4.4-9
Microsoft Azure Linux=3.0
All of the following
azurelinux/libsoup=3.4.4-10
Microsoft Azure Linux=3.0
All of the following
azurelinux/libsoup=3.0.4-7
Microsoft CBL-Mariner=2.0
ubuntu/libsoup2.4*
ubuntu/libsoup2.4*
ubuntu/libsoup2.4*
ubuntu/libsoup2.4*
ubuntu/libsoup3*
ubuntu/libsoup2.4*
ubuntu/libsoup3*
ubuntu/libsoup2.4*
ubuntu/libsoup3*
ubuntu/libsoup2.4*
ubuntu/libsoup3*
ubuntu/libsoup3*
ubuntu/libsoup2.4*
debian/libsoup*
debian/libsoup2.4*
debian/libsoup2.4*
debian/libsoup3*
debian/libsoup3*
debian/libsoup<=3.8.1-1
debian/libsoup2.4<=2.74.3-1+deb12u1, <=2.74.3-10.1
debian/libsoup3<=3.2.3-0+deb12u2, <=3.6.5-3

Event History

Apr 28, 2025
Data Sourced
via Red Hat·06:27 AM
DescriptionSeverityAffected Software
Apr 29, 2025
CVE Published
via MITRE·12:56 PM
Data Sourced
via MITRE·12:56 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
May 5, 2025
Event
via FIRST·12:00 AM
Sep 3, 2025
Data Sourced
via Microsoft·10:40 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·10:40 PM
Affected Software
Jun 30, 2026
Exploit Published
via CISA·02:35 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-4035?

CVE-2025-4035 is considered a medium severity vulnerability due to its potential to bypass public suffix domain protections.

2

How do I fix CVE-2025-4035?

To mitigate CVE-2025-4035, upgrade to the latest version of libsoup that addresses this vulnerability.

3

What kind of systems are affected by CVE-2025-4035?

CVE-2025-4035 affects systems using the GNOME libsoup library that handle cookies improperly.

4

What is the main issue described in CVE-2025-4035?

The main issue in CVE-2025-4035 is that libsoup allows cookies to be set for public suffix domains incorrectly.

5

Who should be concerned about CVE-2025-4035?

Developers and system administrators using libsoup in their applications should be concerned about CVE-2025-4035.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203