Skip to main content
EPSS 0.7%top 50%

Libsoup: Integer Overflow or Wraparound (CVE-2025-4945)

0
Low
Published: 11/04/2025 (11/04/2025, 17:00:12 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

redhat/libsoup
pkg:rpm/redhat/libsoup
Affected versions
=8.2<8.2.6

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

AILast updated: 06/25/2026, 22:20:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses