Libsoup: integer overflow in cookie expiration date handling in libsoup
Vulnerability Description
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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-4945
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Red Hat would like to thank fouzhe for reporting this issue.
References
- https://access.redhat.com/errata/RHSA-2025:19713
- https://access.redhat.com/errata/RHSA-2025:19714
- https://access.redhat.com/errata/RHSA-2025:19720
- https://access.redhat.com/errata/RHSA-2025:20959
- https://access.redhat.com/errata/RHSA-2025:21032
- https://access.redhat.com/errata/RHSA-2025:21655
- https://access.redhat.com/errata/RHSA-2025:21656
- https://access.redhat.com/errata/RHSA-2025:21657
- https://access.redhat.com/errata/RHSA-2025:21664
- https://access.redhat.com/errata/RHSA-2025:21665
- https://access.redhat.com/errata/RHSA-2025:21666
- https://access.redhat.com/errata/RHSA-2025:21772
- https://access.redhat.com/errata/RHSA-2025:22013
- https://access.redhat.com/security/cve/CVE-2025-4945
- https://bugzilla.redhat.com/show_bug.cgi?id=2367175
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/448
More from Unknown
View All →Affected Vendor
Unknown
View all reports →