CVE-2023-25564
JSON

6.5medium

GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
2.71% (higher than 87% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, memory corruption can be triggered when decoding UTF16 strings. The variable `outlen` was not initialized and could cause writing a zero to an arbitrary place in memory if `ntlm_str_convert()` were to fail, which would leave `outlen` uninitialized. This can lead to a denial of service if the write hits unmapped memory or randomly corrupts a byte in the application memory space. This vulnerability can trigger an out-of-bounds write, leading to memory corruption. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This issue is fixed in version 1.2.0.

Affected

Product or packageVersionsReported by
gssapi gss-ntlmssp< 1.2.0CVE List
gss-ntlmssp_project gss-ntlmsspbefore 1.2.0NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-25564 changed 2025-03-10CVE Terms of Use
NVDCVE-2023-25564 changed 2026-06-17Public domain