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

- Severity: Low 3.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-19T17:03:09.472Z
- Modified: 2026-11-06T16:17:05.167Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libsoup: up to 3.6.5 (not affected: from 0:2.62.2-9.el7_9 before *; from 0:2.62.3-10.el8_10 before *; from 0:2.62.3-1.el8_2.6 before *; from 0:2.62.3-2.el8_4.6 before *; from 0:2.62.3-2.el8_6.6 before *; from 0:2.62.3-3.el8_8.6 before *; from 0:2.72.0-10.el9_6.3 before *; from 0:2.72.0-12.el9_7.1 before *; from 0:2.72.0-8.el9_0.6 before *; from 0:2.72.0-8.el9_2.6 before *; from 0:2.72.0-8.el9_4.6 before *)
- libsoup3: no versions given (not affected: from 0:3.6.5-3.el10_0.9 before *; from 0:3.6.5-3.el10_1.6 before *)

## References

- <https://gitlab.gnome.org/GNOME/libsoup/-/issues/448> (exploit)
- <https://access.redhat.com/errata/RHSA-2025:19713> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19714> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19720> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:20959> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21032> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21655> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21656> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21657> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21664> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21665> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21666> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21772> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22013> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-4945> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2367175> (issue-tracking)

## Sources

- CVE List: [CVE-2025-4945](https://www.cve.org/CVERecord?id=CVE-2025-4945), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2025-4945](https://nvd.nist.gov/vuln/detail/CVE-2025-4945), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2025-4945 · Whole record: https://cve.day/CVE-2025-4945.json · Rebuilt by cve.day 2026-11-25T22:58:58.244Z
