CVEfocus › CVE database › CVE-2025-4948

CVE-2025-4948Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of…

CVSS 7.5 HighEPSS 1.5% (higher than 74% of CVEs)Published 2025-05-19Updated 2026-11-04Assigner: redhat

A flaw was found in the soup_multipart_new_from_message() function of the libsoup HTTP library, which is commonly used by GNOME and other applications to handle web communications. The issue occurs when the library processes specially crafted multipart messages. Due to improper validation, an internal calculation can go wrong, leading to an integer underflow. This can cause the program to access invalid memory and crash. As a result, any application or server using libsoup could be forced to exit unexpectedly, creating a denial-of-service (DoS) risk.

CWE-191

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

22Fixed
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-4948
Ubuntu 25.10libsoup2.4Fixed2.74.3-10.1ubuntu4UBUNTU-CVE-2025-4948
Ubuntu 25.10libsoup3Fixed3.6.5-3UBUNTU-CVE-2025-4948
Ubuntu 24.04libsoup2.4Fixed2.74.3-6ubuntu1.6UBUNTU-CVE-2025-4948
Ubuntu 24.04libsoup3Fixed3.4.4-5ubuntu0.5UBUNTU-CVE-2025-4948
Ubuntu 22.04libsoup2.4Fixed2.74.2-3ubuntu0.6UBUNTU-CVE-2025-4948
Ubuntu 22.04libsoup3Fix pending3.0.7-0ubuntu1+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-4948
Ubuntu 20.04libsoup2.4Fix pending2.70.0-1ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-4948
Ubuntu 18.04libsoup2.4Fix pending2.62.1-1ubuntu0.4+esm6 (Ubuntu Pro)UBUNTU-CVE-2025-4948
Ubuntu 16.04libsoup2.4Fix pending2.52.2-1ubuntu0.3+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-4948
Debian 13libsoup2.4Fix pendingDEBIAN-CVE-2025-4948
Debian 13libsoup3Fixed3.6.5-2DEBIAN-CVE-2025-4948
Debian 12libsoup2.4Fix pendingDEBIAN-CVE-2025-4948
Debian 12libsoup3Fix pendingDEBIAN-CVE-2025-4948
Red Hat Enterprise Linux 10libsoup3Fixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 10libsoup3-develFixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 10libsoup3-docFixed0:3.6.5-3.el10_0.6RHSA-2025:8128
Red Hat Enterprise Linux 9libsoupFixed0:2.72.0-10.el9_6.2RHSA-2025:8126
Red Hat Enterprise Linux 9libsoup-develFixed0:2.72.0-10.el9_6.2RHSA-2025:8126
Red Hat Enterprise Linux 8libsoupFixed0:2.62.3-9.el8_10RHSA-2025:8132
Red Hat Enterprise Linux 8libsoup-develFixed0:2.62.3-9.el8_10RHSA-2025:8132
Red Hat Enterprise Linux 6libsoupWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsoup-develWill not fix
Out of support scope
AlmaLinux 10libsoup3-docFixed3.6.5-3.el10_0.6ALSA-2025:8128
AlmaLinux 9libsoupFixed2.72.0-10.el9_6.2ALSA-2025:8126
AlmaLinux 9libsoup-develFixed2.72.0-10.el9_6.2ALSA-2025:8126
AlmaLinux 8libsoupFixed2.62.3-9.el8_10ALSA-2025:8132
AlmaLinux 8libsoup-develFixed2.62.3-9.el8_10ALSA-2025:8132
Rocky Linux 10libsoup3Fixed0:3.6.5-3.el10_0.6RLSA-2025:8128
Rocky Linux 9libsoupFixed0:2.72.0-10.el9_6.2RLSA-2025:8126
Rocky Linux 8libsoupFixed0:2.62.3-9.el8_10RLSA-2025:8132

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 this issue, Red Hat recommends avoiding the use of libsoup with untrusted or unauthenticated multipart HTTP message sources until updated packages are available. Administrators can deploy application-level filters or HTTP proxies that reject malformed multipart requests. It is strongly advised to apply vendor-supplied patches as soon as they are released to address this integer underflow vulnerability and restore the stability of affected services.

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.