Public vulnerability disclosure

CVE-2025-4948

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

publishedCWE-191

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.

Technical severity7.5 highCVSS 3.1 · CNA: redhat
Published2025-05-19Source updated 2026-11-04
Collected2026-11-043 attributed sources

Fixes and workarounds

Workaround

To mitigate this issue, Red Hat recommends avoiding the use of libsoup with untrusted or unauthenticated multipart HTTP message sources until updated packages are available. Administrators can deploy application-level filters or HTTP proxies that reject malformed multipart requests. It is strongly advised to apply vendor-supplied patches as soon as they are released to address this integer underflow vulnerability and restore the stability of affected services.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


libsoup
https://gitlab.gnome.org/GNOME/libsoup
≥ 0; ≤ 3.6.5 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
libsoup3
https://access.redhat.com/downloads/content/package-browser/
≥ 0:3.6.5-3.el10_0.6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.2-9.el7_9; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-9.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-1.el8_2.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-2.el8_4.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-2.el8_6.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-2.el8_6.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-2.el8_6.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Extended Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.62.3-3.el8_8.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.72.0-10.el9_6.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.72.0-8.el9_0.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.2 Extended Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.72.0-8.el9_2.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.4 Extended Update Support
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.72.0-8.el9_4.5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
libsoup
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCNA: redhat
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide