Skip to main content

libsoup CVE-2025-32914

HIGH
Out-of-bounds Read (CWE-125)
2025-04-14 secalert@redhat.com
7.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify libsoup-based HTTP server
  2. Delivery
    Craft malformed multipart MIME message
  3. Exploit
    Send POST request to multipart-processing endpoint
  4. Execution
    Trigger out-of-bounds read in soup_multipart_new_from_message()
  5. Impact
    Leak memory contents via response or crash service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to use libsoup as an HTTP server (not just as a client) and to process multipart MIME messages via soup_multipart_new_from_message() function. Specifically, the application must accept HTTP requests with Content-Type: multipart/form-data or similar multipart content types and invoke the vulnerable parsing function on attacker-controlled input. The AC:H (high complexity) rating indicates exploitation requires precise crafting of malformed multipart boundaries or headers to trigger the specific buffer boundary condition causing out-of-bounds reads. This suggests the vulnerability manifests under narrow input conditions rather than with any arbitrary multipart message. PR:N (no privileges required) and UI:N (no user interaction) mean exploitation can be fully automated once the crafted payload is developed. Attack vector is network-based (AV:N), so the vulnerable service must be reachable over network from the attacker's position, whether internet-facing or within internal network segments. Applications using libsoup exclusively as HTTP clients or not processing multipart content are not exploitable via this vulnerability.

Impact

Real-world risk is moderate but deployment-specific. CVSS 7.4 (High) reflects network-based exploitation with high confidentiality and availability impact, but AC:H indicates non-trivial exploitation requiring precise message crafting to trigger the out-of-bounds condition. EPSS at 0.52% (67th percentile) suggests low observed exploitation interest, consistent with the technical complexity barrier. No CISA KEV listing and no public exploit identified at time of analysis indicate this is not being actively exploited in widespread attacks. However, the vulnerability affects a fundamental HTTP parsing library used across numerous server applications, creating broad attack surface. Primary risk scenarios: (1) targeted attacks against exposed libsoup-based web services where attackers can iterate on multipart message crafting, (2) information disclosure in multi-tenant environments where memory leakage could expose sensitive data from adjacent processes, (3) denial of service against critical services relying on libsoup for HTTP handling. Risk is elevated for internet-facing services parsing untrusted multipart uploads but lower for internal-only applications or those not handling multipart content. Red Hat's rapid patching across 12+ advisories indicates vendor assessment of material risk. Organizations should prioritize patching systems exposed to untrusted HTTP clients, particularly web applications handling file uploads or form submissions.

Exploit ScenarioDerived

An attacker identifies a web application built with libsoup handling file uploads via multipart form data (common in admin panels or API endpoints). The attacker crafts a malicious HTTP POST request with a specially formatted multipart boundary that triggers the out-of-bounds read in soup_multipart_new_from_message(). This causes the server to read adjacent memory regions, potentially leaking sensitive data like session tokens, encryption keys, or user credentials in the HTTP response or error messages. Alternatively, the out-of-bounds access triggers a segmentation fault, crashing the application and causing denial of service. No public exploit identified at time of analysis, but memory corruption exploitation techniques are well-documented, and the AC:H rating suggests reliable exploitation requires research into specific memory layout conditions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 22, 2026

Out-of-bounds read in libsoup's soup_multipart_new_from_message() function allows remote attackers to disclose sensitive memory contents and potentially crash server applications. Malicious HTTP clients can trigger this memory safety flaw (CWE-125) by sending crafted multipart messages to libsoup-based servers, affecting Red Hat Enterprise Linux distributions and Debian systems. With EPSS at 0.52% (67th percentile) and no confirmed active exploitation, this represents moderate real-world risk requiring assessment of deployment exposure to untrusted HTTP clients.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:36 CVSS 7.4

A flaw was found in libsoup, where the soup_multipart_new_from_message() function is vulnerable to an out-of-bounds read. Rated high severity (CVSS 7.4), this vulnerability is remotely exploitable, no authentication required. No vendor patch available.

RemediationAI

Apply vendor-provided patches immediately for systems exposed to untrusted HTTP clients. Red Hat customers should install updates per applicable RHSA advisories for their RHEL version: RHEL 8 users apply RHSA-2025:8126/8132/8139/8140, RHEL 9 users apply RHSA-2025:7505/8252/8480/8481/8482/8663/9179/21657 via yum/dnf update libsoup. Debian LTS users should follow guidance at https://lists.debian.org/debian-lts-announce/2025/04/msg00036.html. Verify patched versions with rpm -q libsoup or dpkg -l libsoup after update. For systems where immediate patching is not feasible, implement compensating controls: (1) restrict HTTP server exposure to trusted networks only via firewall rules, eliminating remote attack vector (trade-off: breaks legitimate external access), (2) disable multipart MIME processing in application configurations if not business-critical (trade-off: breaks file upload functionality), (3) deploy web application firewall with strict multipart message size and structure validation (trade-off: may cause false positives on legitimate uploads, requires tuning). These mitigations reduce attack surface but do not eliminate the vulnerability. Monitor application logs for parsing errors or crashes in multipart handling as potential exploitation indicators. No workaround eliminates the vulnerability; patching is the definitive fix.

Affected ProductsAI

libsoup library versions prior to vendor-patched releases distributed through Red Hat Enterprise Linux 8.x and 9.x (covered by RHSA-2025:7505, RHSA-2025:8126, RHSA-2025:8132, RHSA-2025:8139, RHSA-2025:8140, RHSA-2025:8252, RHSA-2025:8480, RHSA-2025:8481, RHSA-2025:8482, RHSA-2025:8663, RHSA-2025:9179, RHSA-2025:21657) and Debian LTS systems (covered in debian-lts-announce 2025/04/msg00036). Specific vulnerable libsoup versions not disclosed in available advisories, but all unpatched installations using libsoup for server-side HTTP multipart processing are affected. Red Hat Security Advisory https://access.redhat.com/security/cve/CVE-2025-32914 provides centralized tracking. Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2359358 contains additional technical details.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libsoup is a GNOME HTTP client/server library written in C, widely used by Linux desktop applications and server components for HTTP/HTTPS communication and REST API interactions. The vulnerability resides in soup_multipart_new_from_message(), a function that parses multipart MIME messages (commonly used for file uploads and form data). CWE-125 (Out-of-bounds Read) indicates insufficient boundary validation when processing multipart message boundaries or headers, allowing reads beyond allocated buffer regions. This can leak adjacent memory contents (information disclosure) or cause segmentation faults (denial of service). The vulnerability affects the server-side parsing path, meaning applications using libsoup to receive HTTP requests are vulnerable, not HTTP clients. Red Hat's extensive RHSA coverage across RHEL 8, 9, and derivative products indicates widespread deployment in enterprise Linux environments. The network attack vector (AV:N) with high attack complexity (AC:H) suggests exploitation requires precise crafting of malformed multipart messages to trigger the boundary condition.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
SUSE HIGH
Red Hat 7.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 22, 2026 - 11:27 vuln.today
v2 - CVSS changed
Patch released
Apr 05, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 14, 2025 - 15:15 nvd
HIGH 7.4

DescriptionCVE.org

A flaw was found in libsoup, where the soup_multipart_new_from_message() function is vulnerable to an out-of-bounds read. This flaw allows a malicious HTTP client to induce the libsoup server to read out of bounds.

Executive ViewAI

Why It Matters

CVE-2025-32914 is a memory disclosure vulnerability in libsoup affecting Red Hat Enterprise Linux and Debian systems that allows remote attackers to read sensitive server memory and trigger crashes through specially crafted HTTP requests. Organizations running libsoup-based applications exposed to untrusted clients face information disclosure and availability risks that warrant prompt patching to prevent potential data leakage.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level controls to restrict untrusted HTTP client connections to libsoup-based services; disable multipart message processing if operationally feasible; enable security monitoring for abnormal memory access patterns and application crashes.

Threat Intelligence Overview

EPSS Score
0.5%
Top 33% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Image SL-Micro Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.62 Affected

References

Advisories & patches
ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01503/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01504/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:15015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1503/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1504/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:15044/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1509/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1510/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1518/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20375/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20446/ REF https://access.redhat.com/errata/RHSA-2025:21657 REF https://access.redhat.com/errata/RHSA-2025:7505 REF https://access.redhat.com/errata/RHSA-2025:8126 REF https://access.redhat.com/errata/RHSA-2025:8132 REF https://access.redhat.com/errata/RHSA-2025:8139 REF https://access.redhat.com/errata/RHSA-2025:8140 REF https://access.redhat.com/errata/RHSA-2025:8252 REF https://access.redhat.com/errata/RHSA-2025:8480 REF https://access.redhat.com/errata/RHSA-2025:8481 REF https://access.redhat.com/errata/RHSA-2025:8482 REF https://access.redhat.com/errata/RHSA-2025:8663 REF https://access.redhat.com/errata/RHSA-2025:9179 REF https://access.redhat.com/security/cve/CVE-2025-32914 REF https://bugzilla.redhat.com/show_bug.cgi?id=2359358 REF https://gitlab.gnome.org/GNOME/libsoup/-/issues/436 REF https://lists.debian.org/debian-lts-announce/2025/04/msg00036.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy