Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup

Summary

CVECVE-2025-4948
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-19 16:15:36 UTC
Updated2026-06-30 15:16:51 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.006250000 probability, percentile 0.454440000 (date 2026-06-29)

Problem Types: CWE-191 | CWE-191 Integer Underflow (Wrap or Wraparound)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 10 unaffected 0:3.6.5-3.el10_0.6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support unaffected 0:2.62.2-9.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support unaffected 0:2.62.2-6.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.62.3-9.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.62.3-9.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 0:2.62.3-1.el8_2.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 0:2.62.3-2.el8_4.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 0:2.62.3-2.el8_6.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 0:2.62.3-2.el8_6.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 0:2.62.3-2.el8_6.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 0:2.62.3-3.el8_8.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.72.0-10.el9_6.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:2.72.0-8.el9_0.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:2.72.0-8.el9_2.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:2.72.0-8.el9_4.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified

References

ReferenceSourceLinkTags
gitlab.gnome.org/GNOME/libsoup/-/issues/449 [email protected] gitlab.gnome.org
access.redhat.com/errata/RHSA-2025:8128 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/errata/RHSA-2025:9179 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8252 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8481 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8140 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8126 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8482 [email protected] access.redhat.com
gitlab.gnome.org/GNOME/libsoup/-/work_items/449 134c704f-9b21-4f2e-91b3-4a467353bcc0 gitlab.gnome.org
access.redhat.com/errata/RHSA-2025:8663 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:21657 [email protected] access.redhat.com
access.redhat.com/security/cve/CVE-2025-4948 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8132 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8480 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:8139 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank fouzhe and zkbytes for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2025-05-19T05:22:19.904ZReported to Red Hat.
CNA2025-05-19T00:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report