CVE-2023-4641 MEDIUM

CVE-2023-4641: Shadow-utils: possible password leak during passwd(1) change

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-303
Published December 27, 2023
Last update November 3, 2025

CVSS base score

4.7/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

A flaw was found in shadow-utils. When asking for a new password, shadow-utils asks the password twice. If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry. This may allow an attacker with enough access to retrieve the password from the memory.

Key dates

02Disclosure timeline

December 27, 2023 CVE published
November 3, 2025 Record updated