---
id: CVE-2026-2436
title: >-
  Libsoup: libsoup: denial of service via use-after-free in soupserver during
  tls handshake
summary: >-
  A flaw was found in libsoup's SoupServer. A remote attacker could exploit a
  use-after-free vulnerability where the `soup_server_disconnect()` function
  frees connection objects prematurely, even if a TLS handshake is still
  pending. If the…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-825
vendor: Red Hat
product: libsoup3
affected:
  - libsoup3 (all versions)
  - libsoup (all versions)
  - libsoup (all versions)
  - libsoup (all versions)
  - libsoup (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-03-27T19:47:34.578740Z'
published: '2026-03-26'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:32:14.900Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-2436'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-2436'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2442909'
    label: RHBZ#2442909
  - url: 'https://gitlab.gnome.org/GNOME/libsoup/-/issues/501'
tags:
  - cve.org
epss: 0.00455
epssPercentile: 0.39652
ingestedAt: '2026-11-05T22:38:31.552Z'
---

## Overview

A flaw was found in libsoup's SoupServer. A remote attacker could exploit a use-after-free vulnerability where the `soup_server_disconnect()` function frees connection objects prematurely, even if a TLS handshake is still pending. If the handshake completes after the connection object has been freed, a dangling pointer is accessed, leading to a server crash and a Denial of Service.

## Affected

- `libsoup3 (all versions)`
- `libsoup (all versions)`
- `libsoup (all versions)`
- `libsoup (all versions)`
- `libsoup (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
