{"id":"CVE-2023-25565","summary":"GSS-NTLMSSP vulnerable to incorrect free when decoding target information","details":"GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, an incorrect free when decoding target information can trigger a denial of service. The error condition incorrectly assumes the `cb` and `sh` buffers contain a copy of the data that needs to be freed. However, that is not the case. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This will likely trigger an assertion failure in `free`, causing a denial-of-service. This issue is fixed in version 1.2.0.","aliases":["GHSA-7q7f-wqcg-mvfg"],"modified":"2026-08-12T14:50:36.854336Z","published":"2023-02-14T17:35:41.222Z","related":["ALSA-2023:3097","openSUSE-SU-2023:0048-1","openSUSE-SU-2024:12701-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-590"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25565.json"},"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-25565.json"},{"type":"ADVISORY","url":"https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-7q7f-wqcg-mvfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25565"},{"type":"FIX","url":"https://github.com/gssapi/gss-ntlmssp/commit/c16100f60907a2de92bcb676f303b81facee0f64"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gssapi/gss-ntlmssp","events":[{"introduced":"0"},{"fixed":"3c3077e2a24b47db1b4c459fb3173ba7f75b9b44"},{"fixed":"c16100f60907a2de92bcb676f303b81facee0f64"}],"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":{"vanir_signatures":[{"signature_version":"v1","source":"https://github.com/gssapi/gss-ntlmssp/commit/c16100f60907a2de92bcb676f303b81facee0f64","target":{"file":"src/ntlm.c","function":"ntlm_decode_target_info"},"deprecated":false,"digest":{"function_hash":"57595160462499231153569960669104736734","length":2656},"id":"CVE-2023-25565-acd0ce6d","signature_type":"Function"},{"id":"CVE-2023-25565-da305334","signature_type":"Line","signature_version":"v1","source":"https://github.com/gssapi/gss-ntlmssp/commit/c16100f60907a2de92bcb676f303b81facee0f64","target":{"file":"src/ntlm.c"},"deprecated":false,"digest":{"line_hashes":["64777609298809064002460594937770732006","146692340936863203257691673171394704048","174878446513571599842790967051535304059","96459211810076347250371749130271698417","221266557796664850863809294612000062182"],"threshold":0.9}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25565.json","vanir_signatures_modified":"2026-08-12T14:50:36Z"}}],"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"}]}