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 package | Versions | Reported by |
|---|---|---|
| gssapi gss-ntlmssp | < 1.2.0 | CVE List |
| gss-ntlmssp_project gss-ntlmssp | before 1.2.0 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq | third-party-advisory | |
| https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950 | patch, third-party-advisory | |
| https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-25564 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2023-25564 changed 2026-06-17 | Public domain |