---
id: CVE-2026-102560
title: >-
  Libsoup: libsoup: heap buffer overflow during outgoing permessage-deflate
  buffer growth
summary: >-
  A flaw was found in libsoup. When the permessage-deflate WebSocket extension
  compresses a very large outgoing message, truncated size calculations used for
  GByteArray growth could wrap, causing zlib to write past the allocated buffer
  and…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: Red Hat
product: libsoup3
affected:
  - libsoup3 (all versions)
  - libsoup
  - libsoup (all versions)
  - libsoup (all versions)
  - libsoup (all versions)
published: '2026-09-29'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T17:15:36.011Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-102560'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-102560'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2543296'
    label: RHBZ#2543296
tags:
  - cve.org
ingestedAt: '2026-09-29T17:41:02.260Z'
---

## Overview

A flaw was found in libsoup. When the permessage-deflate WebSocket extension compresses a very large outgoing message, truncated size calculations used for GByteArray growth could wrap, causing zlib to write past the allocated buffer and resulting in a heap buffer overflow.

## Affected

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

## Remediation

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

### Workarounds

To mitigate this disable the permessage-deflate WebSocket extension if it is not required, and cap outgoing message sizes.
