Libsoup: Integer Overflow or Wraparound (CVE-2025-4945)
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.
AI Analysis
Technical Summary
The libsoup library, which provides HTTP client and server functionality for GNOME, contains two security flaws: an integer overflow in cookie expiration date handling (CVE-2025-4945) and an out-of-bounds read in cookie date handling (CVE-2025-11021). These vulnerabilities could cause memory safety issues when processing cookie dates. Red Hat Product Security has released an advisory (RHSA-2025:22013) and updated libsoup packages for Red Hat Enterprise Linux 8.2 to fix these issues. The advisory rates the security impact as Important and directs users to apply the update to remediate the vulnerabilities. No CVSS scores are provided in the advisory, and no known exploits in the wild have been reported.
Potential Impact
The vulnerabilities involve integer overflow and out-of-bounds read errors in libsoup's cookie date handling, which may lead to memory corruption or application crashes when processing HTTP cookies. This could potentially be exploited to cause denial of service or other unintended behavior in applications using libsoup. The advisory does not specify confirmed exploitation or broader impacts beyond these technical issues.
Mitigation Recommendations
Red Hat has released updated libsoup packages for Red Hat Enterprise Linux 8.2 that address these vulnerabilities. Users should apply the official security update as described in Red Hat advisory RHSA-2025:22013 and the referenced article https://access.redhat.com/articles/11258. No additional mitigation steps are indicated beyond applying the provided patches.
Libsoup: Integer Overflow or Wraparound (CVE-2025-4945)
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.
CVSS v3.1
Score 3.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The libsoup library, which provides HTTP client and server functionality for GNOME, contains two security flaws: an integer overflow in cookie expiration date handling (CVE-2025-4945) and an out-of-bounds read in cookie date handling (CVE-2025-11021). These vulnerabilities could cause memory safety issues when processing cookie dates. Red Hat Product Security has released an advisory (RHSA-2025:22013) and updated libsoup packages for Red Hat Enterprise Linux 8.2 to fix these issues. The advisory rates the security impact as Important and directs users to apply the update to remediate the vulnerabilities. No CVSS scores are provided in the advisory, and no known exploits in the wild have been reported.
Potential Impact
The vulnerabilities involve integer overflow and out-of-bounds read errors in libsoup's cookie date handling, which may lead to memory corruption or application crashes when processing HTTP cookies. This could potentially be exploited to cause denial of service or other unintended behavior in applications using libsoup. The advisory does not specify confirmed exploitation or broader impacts beyond these technical issues.
Mitigation Recommendations
Red Hat has released updated libsoup packages for Red Hat Enterprise Linux 8.2 that address these vulnerabilities. Users should apply the official security update as described in Red Hat advisory RHSA-2025:22013 and the referenced article https://access.redhat.com/articles/11258. No additional mitigation steps are indicated beyond applying the provided patches.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:22013
- Cve Count
- 2
- Additional Cves
- ["CVE-2025-11021"]
Threat ID: 6a3da1db4853345fc1829197
Added to database: 06/25/2026, 21:47:07 UTC
Last enriched: 06/25/2026, 22:20:34 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.