---
id: CVE-2025-4948
title: >-
  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
summary: >-
  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 cr…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-191
published: '2025-05-19'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4948'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:21657'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8126'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8128'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8132'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8139'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8140'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8252'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8480'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8481'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8482'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:8663'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9179'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-4948'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2367183'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/libsoup/-/issues/449'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00778
epssPercentile: 0.54401
ingestedAt: '2026-06-29T13:24:34.308Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
