Skip to main content

libsoup EUVDEUVD-2026-46363

| CVE-2026-12548 MEDIUM
Out-of-bounds Read (CWE-125)
2026-07-21 secalert@redhat.com GHSA-wmh6-vpqv-v8q3
4.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Host malicious HTTP server
  2. Delivery
    Deliver crafted multipart response to libsoup client
  3. Exploit
    Trigger integer truncation in soup_headers_parse()
  4. Execution
    Heap over-read occurs
  5. Impact
    Crash application or exfiltrate heap memory

Vulnerability Assessment

Weakness
CWE
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 that the victim application use libsoup to parse a multipart HTTP message originating from an attacker-controlled source. The triggering condition is specific: the integer type mismatch must manifest during the length calculation within soup_headers_parse() when processing multipart headers - this requires crafting headers that expose the signedness or width discrepancy between caller and callee. UI:R in the CVSS vector confirms that exploitation depends on a user or automated process actively causing the application to fetch and process the malicious multipart response; passive network positioning alone is insufficient. The AC:H metric further limits exploitation: attackers must meet precise conditions to cause the truncation reliably, ruling out trivial or spray-and-pray approaches. Exploitation is NOT limited by authentication on the attacker's side (PR:N), but IS limited to environments where libsoup-based applications process multipart content from untrusted or attacker-reachable HTTP endpoints.

Impact

The CVSS 3.1 base score of 4.2 (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L) accurately reflects a constrained threat. The High Complexity metric indicates exploitation requires specific, non-trivial conditions - the integer truncation must be triggered by carefully constructed multipart message headers. The UI:R requirement means a user or application must actively process a malicious multipart HTTP response from an attacker-controlled server. Combined, these factors substantially reduce the practical attacker success rate compared to simple network-triggerable bugs. The impact is limited: low confidentiality impact (partial heap disclosure) and low availability impact (application crash), with no integrity impact. No EPSS data was provided in the input, and neither KEV status nor public POC code has been identified, meaning no public exploit identified at time of analysis. Real-world risk is moderate - applications that parse multipart content from untrusted sources (e.g., web browsers built on libsoup, or GNOME apps fetching remote content) face the greatest exposure, while server-side or internal-only deployments are far less exposed.

Exploit ScenarioDerived

An attacker hosts a malicious HTTP server that returns a crafted multipart HTTP response with headers engineered to trigger the integer type mismatch in soup_headers_parse(). When a victim user or application built on libsoup fetches content from this server - for example, through a GNOME application, a web browser using libsoup, or an application fetching a remote resource - the malformed length value causes the parser to read beyond the heap buffer, potentially crashing the application or leaking heap memory to the attacker. No public proof-of-concept code has been identified at time of analysis, and the AC:H rating indicates precise header construction is required to reliably trigger the truncation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Heap out-of-bounds read in libsoup's multipart HTTP message parser allows remote attackers to crash affected applications or leak heap memory contents. An integer type mismatch between the calling code and soup_headers_parse() causes the length parameter to be incorrectly truncated, enabling a read beyond the allocated heap buffer boundary. No active exploitation has been identified (no CISA KEV listing, no public POC), and the CVSS score of 4.2 with AC:H/UI:R reflects meaningful real-world friction for successful exploitation.

RemediationAI

The primary fix should be obtained from the upstream libsoup project tracked at https://gitlab.gnome.org/GNOME/libsoup/-/work_items/512 and from distribution-level patches coordinated by Red Hat (https://access.redhat.com/security/cve/CVE-2026-12548, BZ#2489996). An exact patched version number is not confirmed from the available input data - the upstream fix is available per the GNOME work item but a formally tagged release version was not provided; this should be verified before deployment. Distribution users (RHEL, Fedora, Debian, Ubuntu) should apply OS-level updates as they become available through official package channels. As a compensating control where patching is not immediately possible, applications that consume multipart HTTP content from untrusted sources could be configured to disable or sandbox multipart parsing, though this may break legitimate functionality. Filtering or rejecting multipart Content-Type responses at a network proxy layer would reduce exposure for client applications without code changes.

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 GNOME's HTTP client/server library (libsoup-3.0 / libsoup-2.4), widely used by GNOME applications and other Linux/GTK-based software to perform HTTP operations. The vulnerability resides in the multipart message parsing path: when soup_headers_parse() is called, an integer type mismatch between the caller-supplied length value and the type expected by the function causes implicit narrowing or sign conversion, truncating the effective length. This causes the parser to read beyond the actual heap-allocated buffer (CWE-125: Out-of-bounds Read). The root cause class - integer type mismatch leading to buffer over-read - is a classic C/C++ hazard where differing signedness or width between caller and callee silently produces wrong arithmetic. The GNOME GitLab work item (gitlab.gnome.org/GNOME/libsoup/-/work_items/512) and Red Hat Bugzilla (BZ#2489996) are the primary upstream tracking references.

Know when Libsoup gets its next vulnerability

  • 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 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L
vuln.today AI 4.2 MEDIUM

Network vector with high complexity matches targeted multipart crafting; UI:R required as victim application must fetch malicious content; no integrity impact from a read-only over-read.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Red Hat 4.2 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A heap out-of-bounds read flaw was found in libsoup. When parsing multipart HTTP messages, an integer type mismatch between the caller and soup_headers_parse() can cause the length parameter to be incorrectly truncated, leading to a heap buffer over-read. A remote attacker could use this flaw to crash an application using libsoup or potentially disclose heap memory contents.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
GNOME HTTP library used across Linux desktop and app ecosystem
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:gnome:libsoup:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
CVE-2019-17266 CRITICAL POC
9.8 Oct 06

libsoup from versions 2.65.1 until 2.68.1 have a heap-based buffer over-read because soup_ntlm_parse_challenge() in soup

CVE-2024-52530 HIGH POC
7.5 Nov 11

GNOME libsoup before 3.6.0 allows HTTP request smuggling in some configurations because '\0' characters at the end of he

CVE-2025-2784 MEDIUM POC
6.5 Apr 03

A flaw was found in libsoup. Rated high severity (CVSS 7.0), this vulnerability is remotely exploitable, no authenticati

CVE-2024-52531 MEDIUM POC
6.5 Nov 11

GNOME libsoup before 3.6.1 allows a buffer overflow in applications that perform conversion to UTF-8 in soup_header_pars

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-1536 MEDIUM POC
5.8 Jan 28

HTTP header injection in libsoup through CRLF sequences in the Content-Disposition header allows unauthenticated remote

CVE-2026-1467 MEDIUM POC
5.8 Jan 27

libsoup's improper handling of URL-decoded input in HTTP proxy configurations allows remote attackers to inject CRLF seq

CVE-2018-12910 CRITICAL
9.8 Jul 05

The get_cookies function in soup-cookie-jar.c in libsoup 2.63.2 allows attackers to have unspecified impact via an empty

CVE-2026-102559 HIGH
8.6 Sep 29

Heap memory corruption in libsoup can be triggered when a WebSocket client using libsoup constructs a masked outgoing fr

CVE-2026-102558 HIGH
8.6 Sep 29

Heap out-of-bounds read in libsoup's WebSocket implementation allows a remote, unauthenticated peer to trigger a heap bu

CVE-2026-102557 HIGH
8.6 Sep 29

Heap corruption and denial of service in libsoup stem from unbounded WebSocket message reassembly: the code accumulates

CVE-2026-102556 HIGH
8.6 Sep 29

A type-confusion memory-safety flaw in libsoup's WebSocket handling can crash or corrupt the heap of applications that p

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected

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