CVE-2025-4948
Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup
- State
- Published
- Severity
- 7.5 High
- Published
- May 19, 2025
- Updated
- Jun 30, 2026
- Reserved
- May 19, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-191 Integer Underflow (Wrap or Wraparound)
Affected Products
| Product | Versions |
|---|---|
libsoup |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat |
References
- RHSA-2025:21657vendor-advisory
- RHSA-2025:8126vendor-advisory
- RHSA-2025:8128vendor-advisory
- RHSA-2025:8132vendor-advisory
- RHSA-2025:8139vendor-advisory
- RHSA-2025:8140vendor-advisory
- RHSA-2025:8252vendor-advisory
- RHSA-2025:8480vendor-advisory
- RHSA-2025:8481vendor-advisory
- RHSA-2025:8482vendor-advisory
- RHSA-2025:8663vendor-advisory
- RHSA-2025:9179vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-4948vdb-entry
- RHBZ#2367183issue-tracking
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/449
- https://gitlab.gnome.org/GNOME/libsoup/-/work_items/449exploit
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.