CVE-2022-2127 MEDIUM

CVE-2022-2127: Samba: out-of-bounds read in winbind auth_crap

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-125
Published July 20, 2023
Last update November 20, 2025

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.

Key dates

02Disclosure timeline

July 20, 2023 CVE published
November 20, 2025 Record updated