Vulnerability · Published May 19, 2025 · Assigned by redhat

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

High 7.5

In plain English

A high-severity security flaw in libsoup. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 33.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libsoup2.62.3-9.el8_10ALSA-2025:8132
AlmaLinux:9libsoup2.72.0-10.el9_6.2ALSA-2025:8126
AlmaLinux:8libsoup-devel2.62.3-9.el8_10ALSA-2025:8132
AlmaLinux:9libsoup-devel2.72.0-10.el9_6.2ALSA-2025:8126
AlmaLinux:10libsoup3-doc3.6.5-3.el10_0.6ALSA-2025:8128
Debian:12libsoup2.4no fix listedDEBIAN-CVE-2025-4948
Debian:13libsoup2.4no fix listedDEBIAN-CVE-2025-4948
Debian:12libsoup3no fix listedDEBIAN-CVE-2025-4948
Debian:13libsoup33.6.5-2DEBIAN-CVE-2025-4948
Rocky Linux:8libsoup0:2.62.3-9.el8_10RLSA-2025:8132
Rocky Linux:9libsoup0:2.72.0-10.el9_6.2RLSA-2025:8126
Rocky Linux:10libsoup30:3.6.5-3.el10_0.6RLSA-2025:8128
Ubuntu:22.04:LTSlibsoup2.42.74.2-3ubuntu0.6USN-7643-1
Ubuntu:22.04:LTSlibsoup2.42.74.2-3ubuntu0.6UBUNTU-CVE-2025-4948
Ubuntu:24.04:LTSlibsoup2.42.74.3-6ubuntu1.6UBUNTU-CVE-2025-4948
Ubuntu:24.04:LTSlibsoup2.42.74.3-6ubuntu1.6USN-7643-1
Ubuntu:25.10libsoup2.42.74.3-10.1ubuntu4UBUNTU-CVE-2025-4948
Ubuntu:26.04:LTSlibsoup2.42.74.3-10.1ubuntu4UBUNTU-CVE-2025-4948
Ubuntu:24.04:LTSlibsoup33.4.4-5ubuntu0.5UBUNTU-CVE-2025-4948
Ubuntu:24.04:LTSlibsoup33.4.4-5ubuntu0.5USN-7643-1
Ubuntu:25.10libsoup33.6.5-3UBUNTU-CVE-2025-4948

Affected products (as reported)

Weakness: CWE-191 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References