CVE-2025-4948 Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup
An integer underflow in libsoup allows attackers to crash applications via crafted multipart messages, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-4948?
CVE-2025-4948 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-191
Which versions are affected by CVE-2025-4948?
How do I fix CVE-2025-4948?
Apply the vendor's patch.
Is CVE-2025-4948 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4948 exists.
Sources
Also known as AZL-61921, AZL-61953, DEBIAN-CVE-2025-4948, GHSA-5c6q-hvvg-576r, ROOT-OS-DEBIAN-12-CVE-2025-4948, UBUNTU-CVE-2025-4948.