CVEfocus › CVE database › CVE-2025-4945

CVE-2025-4945Libsoup: integer overflow in cookie expiration date handling in libsoup

CVSS 3.7 LowEPSS 0.9% (higher than 57% of CVEs)Published 2025-05-19Updated 2026-11-06Assigner: redhat

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.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
7Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libsoup2.4Fixed2.74.3-10.1ubuntu4UBUNTU-CVE-2025-4945
Ubuntu 25.10libsoup2.4Fixed2.74.3-10.1ubuntu4UBUNTU-CVE-2025-4945
Ubuntu 25.10libsoup3Fixed3.6.5-3UBUNTU-CVE-2025-4945
Ubuntu 24.04libsoup2.4Fixed2.74.3-6ubuntu1.6UBUNTU-CVE-2025-4945
Ubuntu 24.04libsoup3Fixed3.4.4-5ubuntu0.5UBUNTU-CVE-2025-4945
Ubuntu 22.04libsoup2.4Fixed2.74.2-3ubuntu0.6UBUNTU-CVE-2025-4945
Ubuntu 22.04libsoup3Fix pending3.0.7-0ubuntu1+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-4945
Ubuntu 20.04libsoup2.4Fix pending2.70.0-1ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-4945
Ubuntu 18.04libsoup2.4Fix pending2.62.1-1ubuntu0.4+esm6 (Ubuntu Pro)UBUNTU-CVE-2025-4945
Ubuntu 16.04libsoup2.4Fix pending2.52.2-1ubuntu0.3+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-4945
Debian 13libsoup2.4Fix pendingDEBIAN-CVE-2025-4945
Debian 13libsoup3Fixed3.6.5-2DEBIAN-CVE-2025-4945
Debian 12libsoup2.4Fix pendingDEBIAN-CVE-2025-4945
Debian 12libsoup3Fix pendingDEBIAN-CVE-2025-4945
Red Hat Enterprise Linux 10libsoup3Fixed0:3.6.5-3.el10_0.9RHSA-2025:21032
Red Hat Enterprise Linux 10libsoup3-develFixed0:3.6.5-3.el10_0.9RHSA-2025:21032
Red Hat Enterprise Linux 10libsoup3-docFixed0:3.6.5-3.el10_0.9RHSA-2025:21032
Red Hat Enterprise Linux 9libsoupFixed0:2.72.0-10.el9_6.3RHSA-2025:20959
Red Hat Enterprise Linux 9libsoup-develFixed0:2.72.0-12.el9_7.1RHSA-2025:19713
Red Hat Enterprise Linux 8libsoupFixed0:2.62.3-10.el8_10RHSA-2025:19714
Red Hat Enterprise Linux 8libsoup-develFixed0:2.62.3-10.el8_10RHSA-2025:19714
Red Hat Enterprise Linux 6libsoupWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsoup-develWill not fix
Out of support scope
AlmaLinux 10libsoup3Fixed3.6.5-3.el10_1.6ALSA-2025:21032
AlmaLinux 10libsoup3-develFixed3.6.5-3.el10_1.6ALSA-2025:21032
AlmaLinux 10libsoup3-docFixed3.6.5-3.el10_1.6ALSA-2025:21032
AlmaLinux 9libsoupFixed2.72.0-12.el9_7.1ALSA-2025:20959
AlmaLinux 9libsoup-develFixed2.72.0-12.el9_7.1ALSA-2025:20959
AlmaLinux 8libsoupFixed2.62.3-10.el8_10ALSA-2025:19714
AlmaLinux 8libsoup-develFixed2.62.3-10.el8_10ALSA-2025:19714
Rocky Linux 10libsoup3Fixed0:3.6.5-3.el10_1.6RLSA-2025:19720
Rocky Linux 9libsoupFixed0:2.72.0-12.el9_7.1RLSA-2025:19713
Rocky Linux 8libsoupFixed0:2.62.3-10.el8_10RLSA-2025:19714

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.