CVE-2025-4945: Libsoup: integer overflow in cookie expiration date handling in libsoup

Published May 19, 2025
·
Updated

A flaw was found in the cookie parsing logic of the libsoup HTTP library, used in GNOME applications and other software. The vulnerability arises when processing the expiration date of cookies, where a specially crafted value can trigger an integer overflow. This may result in undefined behavior, allowing an attacker to bypass cookie expiration logic, causing persistent or unintended cookie behavior. The issue stems from improper validation of large integer inputs during date arithmetic operations within the cookie parsing routines.

Other sources

Integer Overflow or Wraparound vulnerability in the cookie parsing logic of the libsoup HTTP client/server library. This issue potentially allows improper handling of cookie expiration dates due to an integer overflow when processing excessively large values. The vulnerability arises from insufficient validation in the conversion logic of cookie expiration timestamps, which can result in undefined behavior. This may enable an attacker to craft malicious cookies that never expire or behave unpredictably, impacting session management and security policies in applications relying on libsoup

Red Hat

Affected Software

1 affected component
libsoup/libsoup

Event History

May 19, 2025
Data Sourced
via Red Hat·04:52 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·05:03 PM
Data Sourced
via MITRE·05:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Sep 1, 57367
Event
via FIRST·10:29 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4945?

CVE-2025-4945 has been assigned a critical severity level due to its potential to cause integer overflow and lead to undefined behavior.

2

How do I fix CVE-2025-4945?

To fix CVE-2025-4945, update the libsoup HTTP library to the latest version that patches the integer overflow vulnerability.

3

Which software is affected by CVE-2025-4945?

CVE-2025-4945 primarily affects the libsoup HTTP library used in GNOME applications and other software relying on it.

4

What is the nature of the flaw in CVE-2025-4945?

The flaw in CVE-2025-4945 is related to the cookie parsing logic where a crafted expiration date value can trigger an integer overflow.

5

Can CVE-2025-4945 be exploited remotely?

Yes, CVE-2025-4945 can potentially be exploited remotely by sending specially crafted cookies to applications using libsoup.

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