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

Published May 19, 2025
·
Updated

A flaw was found in the soupmultipartnewfrommessage() 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.

Other sources

Integer Underflow (Wraparound) vulnerability in the multipart message parser of the libsoup HTTP library. The flaw is caused by an unsafe arithmetic operation in the soupmultipartnewfrommessage() function. When a specially crafted multipart message is processed, the length calculation (end - 2 - split) can underflow, leading to invalid memory access and application crash. This can be exploited remotely without any authentication or user interaction, allowing attackers to disrupt the availability of applications or services using libsoup.

Red Hat

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

Microsoft

Affected Software

7 affected componentsFixes available
Gnome libsoup
IBM DS8A00( R10.0 - R10.1 )<=10.1.3.0 - 10.10.106.0
IBM DS8900F ( R9.4)<=89.40.83.0-89.44.5.0
Microsoft azl3 libsoup 3.4.4-7
Microsoft cbl2 libsoup 3.0.4-7
Microsoft cbl2 libsoup 3.0.4-8
Microsoft azl3 libsoup 3.4.4-8

Event History

May 19, 2025
Data Sourced
via Red Hat·06:25 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Aug 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 18, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
May 20, 57433
Event
via FIRST·11:15 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4948?

CVE-2025-4948 has been classified as a medium severity vulnerability due to its impact on processing multipart messages in the libsoup HTTP library.

2

How do I fix CVE-2025-4948?

To address CVE-2025-4948, update the libsoup library to the latest version provided by your operating system vendor.

3

What applications are affected by CVE-2025-4948?

CVE-2025-4948 affects applications that utilize the libsoup HTTP library, commonly used in GNOME environments.

4

What type of vulnerability is CVE-2025-4948?

CVE-2025-4948 is a vulnerability related to improper message processing in the libsoup library.

5

Can CVE-2025-4948 be exploited remotely?

Yes, CVE-2025-4948 can potentially be exploited remotely if an attacker sends specially crafted multipart messages to the affected application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2025-4948 - Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup - SecAlerts