CVE-2025-9901: Libsoup: improper handling of http vary header in libsoup caching

Published Sep 3, 2025
·
Updated

A flaw was found in libsoup’s caching mechanism, SoupCache, where the HTTP Vary header is ignored when evaluating cached responses. This header ensures that responses vary appropriately based on request headers such as language or authentication. Without this check, cached content can be incorrectly reused across different requests, potentially exposing sensitive user information. While the issue is unlikely to affect everyday desktop use, it could result in confidentiality breaches in proxy or multi-user environments.

Other sources

Improper Cache Validation vulnerability in the SoupCache implementation of the libsoup HTTP library.The flaw is due to libsoup ignoring the HTTP Vary header when determining whether a cached response is valid for subsequent requests. This oversight occurs in the soupcachehasresponse() function, where an unimplemented check results in cached responses being reused incorrectly across different request contexts. If exploited, an attacker could cause highly sensitive or user-specific content to be served to unintended recipients, resulting in serious information disclosure. The issue is only relevant to applications that explicitly enable SoupCache, and exploitation is more plausible in proxy-like scenarios rather than standard GNOME desktop use cases.

— Red Hat

Libsoup: improper handling of http vary header in libsoup caching

— Microsoft

Affected Software

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

Event History

Sep 3, 2025
Data Sourced
via Red Hat·05:12 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·12:32 PM
Data Sourced
via MITRE·12:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Sep 7, 2025
Data Sourced
via Microsoft·01:17 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:17 AM
Affected Software
Updated
via Microsoft·01:17 AM
SeverityAffected Software
Updated
via Microsoft·08:17 AM
DescriptionSeverityWeakness
Updated
via Microsoft·08:17 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-9901?

CVE-2025-9901 is considered a high severity vulnerability due to the potential for sensitive information exposure through improperly cached responses.

2

How do I fix CVE-2025-9901?

To fix CVE-2025-9901, update to the latest version of libsoup that has addressed this caching mechanism flaw.

3

What systems are affected by CVE-2025-9901?

CVE-2025-9901 affects applications using GNOME libsoup for handling HTTP requests and responses.

4

What impact does CVE-2025-9901 have on web applications?

CVE-2025-9901 can lead to unintended content being served to users, compromising data confidentiality and integrity.

5

Is there a workaround for CVE-2025-9901 until a patch is available?

As a temporary workaround for CVE-2025-9901, consider disabling caching mechanisms in your application if feasible.

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