---
id: CVE-2026-112063
title: >-
  libstrophe through 0.14.0 Stack-Based Buffer Overflow via SCRAM Salt in
  SCRAM_Hi
summary: >-
  libstrophe through 0.14.0 contains a stack-based buffer overflow vulnerability
  in SCRAM_Hi that allows malicious XMPP servers to overflow a 128-byte stack
  buffer by sending an oversized SCRAM salt. Attackers can send a
  server-first-messa…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-121
vendor: strophe
product: libstrophe
affected:
  - libstrophe <= 0.14.0
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T12:19:52.787Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112063'
references:
  - url: 'https://hackmd.io/@haindpwn/libstrophe-scram-salt-stack-overflow'
  - url: 'https://github.com/strophe/libstrophe/blob/0.14.0/src/scram.c'
  - url: 'https://github.com/strophe/libstrophe/blob/0.14.0/src/sasl.c'
  - url: >-
      https://www.vulncheck.com/advisories/libstrophe-through-0.14.0-stack-based-buffer-overflow-via-scram-salt-in-scram-hi
    label: >-
      VulnCheck Advisory: libstrophe through 0.14.0 Stack-Based Buffer Overflow
      via SCRAM Salt in SCRAM_Hi
tags:
  - cve.org
ingestedAt: '2026-10-18T12:41:54.056Z'
---

## Overview

libstrophe through 0.14.0 contains a stack-based buffer overflow vulnerability in SCRAM_Hi that allows malicious XMPP servers to overflow a 128-byte stack buffer by sending an oversized SCRAM salt. Attackers can send a server-first-message whose s= attribute decodes to more than 124 bytes, aborting the client or overwriting stack memory in NDEBUG builds.

## Affected

- `libstrophe <= 0.14.0`

## Remediation

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