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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libsoup | 2.62.3-9.el8_10 | ALSA-2025:8132 |
| AlmaLinux:9 | libsoup | 2.72.0-10.el9_6.2 | ALSA-2025:8126 |
| AlmaLinux:8 | libsoup-devel | 2.62.3-9.el8_10 | ALSA-2025:8132 |
| AlmaLinux:9 | libsoup-devel | 2.72.0-10.el9_6.2 | ALSA-2025:8126 |
| AlmaLinux:10 | libsoup3-doc | 3.6.5-3.el10_0.6 | ALSA-2025:8128 |
| Debian:12 | libsoup2.4 | no fix listed | DEBIAN-CVE-2025-4948 |
| Debian:13 | libsoup2.4 | no fix listed | DEBIAN-CVE-2025-4948 |
| Debian:12 | libsoup3 | no fix listed | DEBIAN-CVE-2025-4948 |
| Debian:13 | libsoup3 | 3.6.5-2 | DEBIAN-CVE-2025-4948 |
| Rocky Linux:8 | libsoup | 0:2.62.3-9.el8_10 | RLSA-2025:8132 |
| Rocky Linux:9 | libsoup | 0:2.72.0-10.el9_6.2 | RLSA-2025:8126 |
| Rocky Linux:10 | libsoup3 | 0:3.6.5-3.el10_0.6 | RLSA-2025:8128 |
| Ubuntu:22.04:LTS | libsoup2.4 | 2.74.2-3ubuntu0.6 | USN-7643-1 |
| Ubuntu:22.04:LTS | libsoup2.4 | 2.74.2-3ubuntu0.6 | UBUNTU-CVE-2025-4948 |
| Ubuntu:24.04:LTS | libsoup2.4 | 2.74.3-6ubuntu1.6 | UBUNTU-CVE-2025-4948 |
| Ubuntu:24.04:LTS | libsoup2.4 | 2.74.3-6ubuntu1.6 | USN-7643-1 |
| Ubuntu:25.10 | libsoup2.4 | 2.74.3-10.1ubuntu4 | UBUNTU-CVE-2025-4948 |
| Ubuntu:26.04:LTS | libsoup2.4 | 2.74.3-10.1ubuntu4 | UBUNTU-CVE-2025-4948 |
| Ubuntu:24.04:LTS | libsoup3 | 3.4.4-5ubuntu0.5 | UBUNTU-CVE-2025-4948 |
| Ubuntu:24.04:LTS | libsoup3 | 3.4.4-5ubuntu0.5 | USN-7643-1 |
| Ubuntu:25.10 | libsoup3 | 3.6.5-3 | UBUNTU-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
- RHSA-2025:21657 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8126 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8128 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8132 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8139 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8140 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8252 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8480 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8481 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8482 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8663 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-4948 vdb-entry, x_refsource_REDHAT
- RHBZ#2367183 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/449
- https://gitlab.gnome.org/GNOME/libsoup/-/work_items/449 exploit