{"id":"CVE-2023-25564","summary":"GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings","details":"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.","aliases":["GHSA-r85x-q5px-9xfq"],"modified":"2026-03-20T12:25:51.950730Z","published":"2023-02-14T17:35:26.294Z","related":["ALSA-2023:3097","MGASA-2023-0108","openSUSE-SU-2023:0048-1","openSUSE-SU-2024:12701-1"],"database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25564.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25564.json"},{"type":"ADVISORY","url":"https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25564"},{"type":"FIX","url":"https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gssapi/gss-ntlmssp","events":[{"introduced":"0"},{"fixed":"3c3077e2a24b47db1b4c459fb3173ba7f75b9b44"}]}],"versions":["0.8.0","v0.1.0","v0.2.0","v0.3.0","v0.3.1","v0.4.0","v0.5.0","v0.6.0","v0.7.0","v0.8.0","v0.9.0","v1.0.0","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25564.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"}]}