{"id":"CVE-2023-25566","summary":"GSS-NTLMSSP vulnerable to memory leak when parsing usernames","details":"GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, a memory leak can be triggered when parsing usernames which can trigger a denial-of-service. The domain portion of a username may be overridden causing an allocated memory area the size of the domain name to be leaked. An attacker can leak memory via the main `gss_accept_sec_context` entry point, potentially causing a denial-of-service. This issue is fixed in version 1.2.0.\n\n","aliases":["GHSA-mfm4-6g58-jw74"],"modified":"2026-08-12T13:32:28.364452Z","published":"2023-02-14T17:35:48.482Z","related":["ALSA-2023:3097","openSUSE-SU-2023:0048-1","openSUSE-SU-2024:12701-1"],"database_specific":{"cwe_ids":["CWE-401"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25566.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-25566.json"},{"type":"ADVISORY","url":"https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-mfm4-6g58-jw74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25566"},{"type":"FIX","url":"https://github.com/gssapi/gss-ntlmssp/commit/8660fb16474054e692a596e9c79670cd4d3954f4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gssapi/gss-ntlmssp","events":[{"introduced":"0"},{"fixed":"3c3077e2a24b47db1b4c459fb3173ba7f75b9b44"},{"fixed":"8660fb16474054e692a596e9c79670cd4d3954f4"}],"database_specific":{"cpe":"cpe:2.3:a:gss-ntlmssp_project:gss-ntlmssp:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.2.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.1.0","v1.0.0","v0.9.0","0.8.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25566.json","vanir_signatures_modified":"2026-08-12T13:32:28Z","vanir_signatures":[{"target":{"file":"src/gss_names.c"},"deprecated":false,"digest":{"line_hashes":["328030147469510282739970245306179253895","194038206146445467428513869267544045323","243046179584842711255844825295295630500","147109741442370784426726933143972938946","295539985142122397152785614327741755775","230200245471016897679797279147581073109","52323966078945608081504747393551146860","327204053187311149587013198362071118088","84185250257314089482765170898075235546","238743680530611755997188088921867233726","11623135887812951417746352207963191015","174384045762679156768111054739520285510","260288007520182714382309927448782770120","229664254969040605935054631629870701826","289090628858495618646590899666808315140","318191227097387534282501282670122303574"],"threshold":0.9},"id":"CVE-2023-25566-8a504435","signature_type":"Line","signature_version":"v1","source":"https://github.com/gssapi/gss-ntlmssp/commit/8660fb16474054e692a596e9c79670cd4d3954f4"},{"source":"https://github.com/gssapi/gss-ntlmssp/commit/8660fb16474054e692a596e9c79670cd4d3954f4","target":{"file":"src/gss_names.c","function":"parse_user_name"},"deprecated":false,"digest":{"function_hash":"258485927801885407370731171782633631763","length":1766},"id":"CVE-2023-25566-e0be0cbb","signature_type":"Function","signature_version":"v1"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}