ZeroHour

CVE-2026-85197

mass

Heap use-after-free in libsoup HTTP/2 client during file uploads

CVSS 3.1
7.6 high
EPSS
<1%p12
Published
()
Modified
AI analysis

libsoup, the GNOME HTTP client library, contains a heap use-after-free (CWE-416) in its HTTP/2 client implementation, rated 7.6 High with a network attack vector and user interaction required. The flaw is triggered when an application uploads a file over HTTP/2 and the server - either a malicious endpoint or a man-in-the-middle attacker - sends a GOAWAY frame while the upload body is still being read asynchronously, causing connection state to be freed while still in use. Successful exploitation causes memory corruption that can lead to information disclosure or arbitrary code execution with the privileges of the affected application. Any application linked against a vulnerable libsoup that performs HTTP/2 uploads is affected, most notably GNOME desktop applications shipped by Linux distributions. There is no public proof-of-concept, no CISA KEV listing, and no known in-the-wild exploitation; EPSS estimates the 30-day exploitation probability at about 0.2% (12th percentile).

What to do: Apply the patched libsoup package from your distribution or vendor as soon as its security advisory referencing CVE-2026-85197 is published, since fixed version numbers are not provided in the available data. Until patched, avoid uploading files over HTTP/2 to untrusted servers and audit which installed GNOME/desktop applications link against libsoup and perform HTTP/2 uploads. No public workarounds or exploit code are documented yet.

Affected
GNOME libsoup (HTTP/2 client implementation)
Estimated exposure
masstens of millions of installations (libsoup is a default GNOME/Libraries dependency across major Linux distributions) — libsoup ships by default with GNOME and is pulled in by many packages on virtually all major Linux distributions, so the install base is plausibly in the tens of millions, though only processes actually performing HTTP/2 file uploads at…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in libsoup. A malicious HTTP/2 server or a Man-in-the-Middle (MITM) attacker can exploit a heap use-after-free vulnerability in the HTTP/2 client implementation. This occurs when a GNOME application uploads a file using HTTP/2, and the server sends a GOAWAY frame while the file body is being read asynchronously. This can lead to memory corruption, potentially resulting in information disclosure or arbitrary code execution.

Weakness
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

In the news

No ingested article mentions this CVE yet.