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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-19T15:55:46.230Z
- Modified: 2026-11-04T22:17:37.787Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libsoup: up to 3.6.5 (not affected: from 0:2.62.2-9.el7_9 before *; from 0:2.62.3-9.el8_10 before *; from 0:2.62.3-1.el8_2.5 before *; from 0:2.62.3-2.el8_4.5 before *; from 0:2.62.3-2.el8_6.5 before *; from 0:2.62.3-3.el8_8.5 before *; from 0:2.72.0-10.el9_6.2 before *; from 0:2.72.0-8.el9_0.5 before *; from 0:2.72.0-8.el9_2.5 before *; from 0:2.72.0-8.el9_4.5 before *)
- libsoup3: no versions given (not affected: from 0:3.6.5-3.el10_0.6 before *)

## References

- <https://gitlab.gnome.org/GNOME/libsoup/-/work_items/449> (exploit)
- <https://access.redhat.com/errata/RHSA-2025:21657> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8126> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8128> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8132> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8139> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8140> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8252> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8480> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8481> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8482> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8663> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-4948> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2367183> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/libsoup/-/issues/449>

## Sources

- CVE List: [CVE-2025-4948](https://www.cve.org/CVERecord?id=CVE-2025-4948), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2025-4948](https://nvd.nist.gov/vuln/detail/CVE-2025-4948), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2025-4948 · Whole record: https://cve.day/CVE-2025-4948.json · Rebuilt by cve.day 2026-11-25T22:58:58.237Z
