CVE-2026-12548

Libsoup: heap out-of-bounds read in libsoup due to integer truncation

Published Jul 21, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap out-of-bounds read flaw exists in the libsoup library when processing multipart HTTP messages. An integer truncation between the caller and the internal soup_headers_parse() function can reduce the reported length, causing an over-read of the heap buffer. This over-read can either crash the application or expose sensitive data residing in the heap, as described in the CVE report. The weakness is classified as CWE-125.

Affected Systems

Red Hat Enterprise Linux 10 is the only affected system identified by the Red Hat CNA. The affected component is the libsoup runtime package bundled with that distribution. No other vendors, products, or versions are listed.

Risk and Exploitability

The CVSS score of 4.2 indicates moderate severity with primary impact of denial of service and secondary potential for information disclosure. The EPSS score is below 1%, suggesting low likelihood of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote, unauthenticated user sending a crafted multipart HTTP request to an application that uses libsoup; this inference is derived from the description stating the flaw occurs during multipart parsing. No authentication or privilege escalation is required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor-released update that addresses the libsoup integer truncation flaw.
  • If no patch is available, restrict exposure of services that accept multipart HTTP requests to trusted networks or block unsolicited traffic at the firewall.
  • Configure applications using libsoup to perform strict validation of message sizes and header lengths, or run them within sandboxed containers to limit impact if an over-read occurs.

Generated by OpenCVE AI on July 30, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8975-1 libsoup vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/a:redhat:enterprise_linux:10
Type Values Removed Values Added
First Time appeared Gnome
Gnome libsoup
CPEs cpe:2.3:a:gnome:libsoup:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
Vendors & Products Gnome
Gnome libsoup
Type Values Removed Values Added
First Time appeared Libsoup
Libsoup libsoup
Vendors & Products Libsoup
Libsoup libsoup
Type Values Removed Values Added
Description 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.
Title Libsoup: heap out-of-bounds read in libsoup due to integer truncation
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 5:02 PM
Reserved
Jun 17, 2026, 6:25 PM
Status
Analyzed
Published
Jul 21, 2026, 7:17 PM
Modified
Nov 5, 2026, 5:18 PM