CVEfocus › CVE database › CVE-2023-25565

CVE-2023-25565GSS-NTLMSSP vulnerable to incorrect free when decoding target information

CVSS 7.5 HighEPSS 1.5% (higher than 75% of CVEs)Published 2023-02-14Updated 2025-03-10Assigner: GitHub_M

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.

CWE-590

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gss-ntlmsspNot affected
vulnerable_code_not_present
Ubuntu 25.10gss-ntlmsspNot affected
vulnerable_code_not_present
Ubuntu 24.04gss-ntlmsspNot affected
vulnerable_code_not_present
Ubuntu 22.04gss-ntlmsspFix pending0.7.0-4ubuntu0.22.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25565
Ubuntu 20.04gss-ntlmsspFix pending0.7.0-4ubuntu0.20.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25565
Ubuntu 18.04gss-ntlmsspFix pending0.7.0-4ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25565
Ubuntu 16.04gss-ntlmsspFix pending0.7.0-3~ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25565
Debian 14gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25565
Debian 13gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25565
Debian 12gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25565
Red Hat Enterprise Linux 8gssntlmsspFixed0:1.2.0-1.el8_8RHSA-2023:3097
AlmaLinux 8gssntlmsspFixed1.2.0-1.el8_8ALSA-2023:3097

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.