CVE-2025-4945

Libsoup: integer overflow in cookie expiration date handling in libsoup

State
Published
Severity
3.7 Low
Published
May 19, 2025
Updated
Jun 30, 2026
Reserved
May 19, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
libsoup
  • 3.6.5 and earlierAffected
Red Hat Enterprise Linux 10Red Hat
  • 0:3.6.5-3.el10_0.9 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
  • 0:3.6.5-3.el10_1.6 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:2.62.2-9.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:2.62.3-10.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:2.62.3-10.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:2.62.3-1.el8_2.6 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:2.62.3-2.el8_4.6 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat
  • 0:2.62.3-2.el8_4.6 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:2.62.3-2.el8_6.6 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:2.62.3-2.el8_6.6 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:2.62.3-2.el8_6.6 and laterNot affected
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat
  • 0:2.62.3-3.el8_8.6 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.72.0-10.el9_6.3 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.72.0-12.el9_7.1 and laterNot affected
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
  • 0:2.72.0-8.el9_0.6 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:2.72.0-8.el9_2.6 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:2.72.0-8.el9_4.6 and laterNot affected
Red Hat Enterprise Linux 6Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.