CVE-2025-4945
Libsoup: integer overflow in cookie expiration date handling in libsoup
- State
- Published
- Severity
- 3.7 Low
- Published
- May 19, 2025
- Updated
- Jun 30, 2026
- Reserved
- May 19, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | redhat |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
libsoup |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat |
References
- RHSA-2025:19713vendor-advisory
- RHSA-2025:19714vendor-advisory
- RHSA-2025:19720vendor-advisory
- RHSA-2025:20959vendor-advisory
- RHSA-2025:21032vendor-advisory
- RHSA-2025:21655vendor-advisory
- RHSA-2025:21656vendor-advisory
- RHSA-2025:21657vendor-advisory
- RHSA-2025:21664vendor-advisory
- RHSA-2025:21665vendor-advisory
- RHSA-2025:21666vendor-advisory
- RHSA-2025:21772vendor-advisory
- RHSA-2025:22013vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-4945vdb-entry
- RHBZ#2367175issue-tracking
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/448
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.