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

6 affected components
Gnome libsoup
Microsoft azl3 libsoup 3.4.4-10
Microsoft cbl2 libsoup 3.0.4-7
Microsoft cbl2 libsoup 3.0.4-10
Microsoft azl3 libsoup 3.4.4-11
Microsoft azl3 libsoup 3.4.4-9

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 NVD·01:15 PM
DescriptionSeverityWeakness
Sep 3, 2025
Data Sourced
via Microsoft·10:40 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·10:40 PM
SeverityAffected Software
Updated
via Microsoft·10:40 PM
Affected Software
Sep 4, 2025
Updated
via Microsoft·05:40 AM
DescriptionSeverity

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