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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.7
- **CVSS:** 3.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.90% (percentile 57, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-05-19T17:03:09.472Z
- **Modified:** 2026-11-06T16:17:05.167Z

## Who should check

- Anyone running libsoup \<= 3.6.5
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.2 Advanced Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions
- Anyone running Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions

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

## Affected and fixed versions

- libsoup: \<= 3.6.5 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)

## Mitigation

- Vendor workaround: To mitigate the risk associated with this libsoup vulnerability, Red Hat recommends avoiding interactions between client applications using the libsoup library and untrusted or compromised HTTP servers until a patched version of libsoup is deployed. Users and administrators should monitor their systems for suspicious HTTP activity and apply vendor updates as soon as a fix becomes available to prevent manipulation of cookie expiration logic that could lead to unexpected behavior or policy circumvention.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-4945. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-4945.md
Affected: libsoup <= 3.6.5; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Su…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for libsoup, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-4945 being exploited?

There is no confirmed exploitation: CVE-2025-4945 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.90% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-4945?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-4945?

libsoup \<= 3.6.5; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Red Hat Enterprise Linux 6.

### Is there a fix for CVE-2025-4945?

No fixed version is listed in the sources yet. Vendor workaround: To mitigate the risk associated with this libsoup vulnerability, Red Hat recommends avoiding interactions between client applications using the libsoup library and untrusted or compromised HTTP servers until a patched version of libsoup is deployed. Users and administrators should monitor their systems for suspicious HTTP activity and apply vendor updates as soon as a fix becomes available to prevent manipulation of cookie expiration logic that could lead to unexpected behavior or policy circumvention.

### How do I check if I'm affected by CVE-2025-4945?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-4945>

HTML: <https://flawdb.com/CVE-2025-4945> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-4945>
