CVE-2025-4945
Libsoup: integer overflow in cookie expiration date handling in libsoup
Reported by redhat · Published May 19, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libsoup | gitlab.gnome.org | 3.6.5 |
| libsoup | Amazon Linux | 2.72.0-6.amzn2023.0.8 |
| libsoup3-doc | Amazon Linux | 3.6.5-53.amzn2023 |
| libsoup3 | Amazon Linux | 3.6.5-53.amzn2023 |
| libsoup3-devel | Amazon Linux | 3.6.5-53.amzn2023 |
| libsoup-devel | Amazon Linux | 2.72.0-6.amzn2023.0.8 |
| libsoup-doc | Amazon Linux | 2.72.0-6.amzn2023.0.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.6.5-3.el10_0.9 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.6.5-3.el10_1.6 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.62.2-9.el7_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.62.3-10.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.62.3-10.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:2.62.3-1.el8_2.6 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:2.62.3-2.el8_4.6 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:2.62.3-2.el8_4.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:2.62.3-2.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:2.62.3-2.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:2.62.3-2.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:2.62.3-3.el8_8.6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.72.0-10.el9_6.3 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.72.0-12.el9_7.1 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:2.72.0-8.el9_0.6 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:2.72.0-8.el9_2.6 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:2.72.0-8.el9_4.6 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 6 |
…and 22 more
Timeline
- May 19, 2025 CVE Published
- May 20, 2025 EPSS Score (30 in total, the first dated here)
- Nov 15, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (38 in total, the first dated here)
- Jun 6, 2026 Coalition ESS Score
- Oct 10, 2026 Distribution Patch (36 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4945
vulnetix vdb fixes CVE-2025-4945
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4945/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:19713 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:19714 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:19720 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:20959 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21032 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21655 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21656 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21657 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21664 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21665 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21666 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21772 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:22013 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2367175 issue-trackingx_refsource_REDHAT