CVE-2025-4945
Libsoup: integer overflow in cookie expiration date handling in libsoup
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.
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
Vulnerability facts
- 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 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
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.90% chance of exploitation in 30 days (percentile 57, 2026-11-26)
- CWE
- CWE-190
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
- 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
Exploits and PoCs
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.