CVEfocus › CVE database › CVE-2023-25564

CVE-2023-25564GSS-NTLMSSP vulnerable to memory corruption when decoding UTF16 strings

CVSS 6.5 MediumEPSS 2.7% (higher than 87% 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, 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.

CWE-787

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-25564
Ubuntu 20.04gss-ntlmsspFix pending0.7.0-4ubuntu0.20.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25564
Ubuntu 18.04gss-ntlmsspFix pending0.7.0-4ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25564
Ubuntu 16.04gss-ntlmsspFix pending0.7.0-3~ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25564
Debian 14gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25564
Debian 13gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25564
Debian 12gss-ntlmsspFixed1.2.0-1DEBIAN-CVE-2023-25564
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.