Description
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.
Published: 2026-10-18
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a stack-based buffer overflow, a CWE-121 condition, in the SCRAM_Hi function of the libstrophe library. An attacker who controls an XMPP server can send a server‑first‑message containing an SCRAM salt that, when decoded, exceeds 124 bytes. This overflow can abort the client or overwrite stack memory, potentially allowing arbitrary code execution.

Affected Systems

The issue affects the libstrophe library from all releases up through 0.14.0. Systems that link against libstrophe for XMPP client functionality are impacted, regardless of the vendor of the host application.

Risk and Exploitability

With a CVSS score of 6, the vulnerability is classified as moderate. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploits at this time. The attack requires a malicious XMPP server that can send a specially crafted SCRAM salt, indicating the attack vector is a malicious network provider or an adversary who can play the role of an XMPP server. Because the overflow occurs on the client side, the risk is limited to that client; however, if the client is exposed to untrusted servers, the threat is real.

Generated by OpenCVE AI on October 18, 2026 at 14:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libstrophe to a fixed version (0.15 or later) that removes the overflow condition.
  • If upgrading immediately is not possible, restrict the SCRAM salt length that servers send to 124 bytes or less, or disable SCRAM authentication entirely for untrusted connections.
  • Enable stack protection features (e.g., stack canaries) in the client build to mitigate potential overflow exploitation.

Generated by OpenCVE AI on October 18, 2026 at 14:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description 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.
Title libstrophe through 0.14.0 Stack-Based Buffer Overflow via SCRAM Salt in SCRAM_Hi
Weaknesses CWE-121
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-18T12:19:52.787Z

Reserved: 2026-10-18T12:00:08.233Z

Link: CVE-2026-112063

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T13:16:38.893

Modified: 2026-10-18T13:16:38.893

Link: CVE-2026-112063

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T14:15:14Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow