High [CVE-2025-4948] Libsoup: integer underflow in soup_multipart_new_from_message leading to denial of service in libsoup
This high-severity Red Hat Linux advisory covers CVE-2025-4948 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8.2 Advanced Update Support.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Summary
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. The Red Hat Product Security team has assessed the severity of this vulnerability as High, given that it can be remotely triggered without authentication or user interaction.
Successful exploitation allows an attacker to crash services or applications relying on libsoup for HTTP multipart message processing. The vulnerability’s root cause is a lack of proper bounds checking that results in an integer underflow and subsequent denial-of-service.
Red Hat severity: Important — CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). Weakness: CWE-191.
Affected products named by the advisory: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 7 Extended Lifecycle Support; Red Hat Enterprise Linux 8.2 Advanced Update Support; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support; and 9 more.
Is CVE-2025-4948 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2025-4948 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2025-4948?
Upgrade to a fixed release named by Red Hat:
- libsoup3-0:3.6.5-3.el10_0.6
- libsoup-0:2.62.2-9.el7_9
- libsoup-0:2.62.2-6.el7_9
- libsoup-0:2.62.3-9.el8_10
- libsoup-0:2.62.3-1.el8_2.5
- libsoup-0:2.62.3-2.el8_4.5
- libsoup-0:2.62.3-2.el8_6.5
- libsoup-0:2.62.3-3.el8_8.5
- libsoup-0:2.72.0-10.el9_6.2
- libsoup-0:2.72.0-8.el9_0.5
- libsoup-0:2.72.0-8.el9_2.5
- libsoup-0:2.72.0-8.el9_4.5
12 more fixed releases are listed below.
Confirm against the vendor advisory before you patch.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative. Check it before change work.
Official advisory · high-confidence parse· fetched 10 days ago·verify at source
- libsoup3-0:3.6.5-3.el10_0.6
- libsoup-0:2.62.2-9.el7_9
- libsoup-0:2.62.2-6.el7_9
- libsoup-0:2.62.3-9.el8_10
- libsoup-0:2.62.3-1.el8_2.5
- libsoup-0:2.62.3-2.el8_4.5
- libsoup-0:2.62.3-2.el8_6.5
- libsoup-0:2.62.3-3.el8_8.5
- libsoup-0:2.72.0-10.el9_6.2
- libsoup-0:2.72.0-8.el9_0.5
- libsoup-0:2.72.0-8.el9_2.5
- libsoup-0:2.72.0-8.el9_4.5
- RHSA-2025:8128
- RHSA-2025:21657
- RHSA-2025:9179
- RHSA-2025:8132
- RHSA-2025:8480
- RHSA-2025:8663
- RHSA-2025:8482
- RHSA-2025:8252
- RHSA-2025:8126
- RHSA-2025:8481
- RHSA-2025:8140
- RHSA-2025:8139
Official advisory · high-confidence parse· fetched 10 days ago·verify at source
Mitigation checklist
- 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.
Official advisory · high-confidence parse· fetched 10 days ago·verify at source
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Red Hat Linux advisories
- CVE-2025-31277Mar 18, 2026Processing maliciously crafted web content may lead to memory corruption
- CVE-2026-46300May 13, 2026"Fragnesia" is a variant of Dirty Frag vulnerability in the ESP/XFRM leading to Local
- CVE-2026-31431Apr 22, 2026algif_aead - Revert to operating out-of-place
- CVE-2026-111497Oct 22, 2026Out-of-Bounds Write in Google Brotli Decoder
- CVE-2026-109619Oct 21, 2026fatal error handling retains stale request state leading to use-after-free
- CVE-2026-109618Oct 21, 2026OOM bailout during request parsing leads to memory corruption and RCE
iPhone and Android apps · New on the App Store
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.