{"id":"CVE-2023-25564","published":"2023-02-14T17:35:26Z","modified":"2025-03-10T21:12:01Z","title":"GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings","vendor":"gssapi","product":"gss-ntlmssp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01942,"percentile":0.8067,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-r85x-q5px-9xfq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950","tags":["x_refsource_MISC"]},{"url":"https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":16.13},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gssapi","affectedVersions":[{"vendor":"gssapi","product":"gss-ntlmssp","versions":["< 1.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:39.173930Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-29516","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gssapi-gss-ntlmssp-cve-2023-25563","parents":[{"from":"CVE-2023-25563","to":"CVE-2023-25564","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ntlm.c"],"commits":["https://github.com/gssapi/gss-ntlmssp/commit/97c62c6167299028d80765080e74d91dfc99efbd","https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950"],"basis":"shared function","functions":["ntlm_ctx"]}]}],"children":[{"from":"CVE-2023-25564","to":"CVE-2023-25565","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ntlm.c"],"commits":["https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950","https://github.com/gssapi/gss-ntlmssp/commit/c16100f60907a2de92bcb676f303b81facee0f64"],"basis":"shared function","functions":["ntlm_ctx"]}]},{"from":"CVE-2023-25564","to":"CVE-2023-25567","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ntlm.c"],"commits":["https://github.com/gssapi/gss-ntlmssp/commit/c753000eb31835c0664e528fbc99378ae0cbe950","https://github.com/gssapi/gss-ntlmssp/commit/025fbb756d44ffee8f847db4222ed6aa4bd1fbe4"],"basis":"shared function","functions":["ntlm_ctx"]}]}]}}