CVE-2023-4641

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

MEDIUM
5.5
CVSS Score
Published: December 27, 2023 at 03:43 PM UTC
Updated: June 17, 2026 at 06:38 AM UTC
9 products affected across 2 vendorsEnterprise LinuxEnterprise Linux for IBM Z SystemsEnterprise Linux for Power Little Endian

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 2:4.6-17.el8_6 (unaffected)
Vendor states this is fixed in 2:4.6-17.el8_8.2 (unaffected)
Vendor states this is fixed in 2:4.6-19.el8 (unaffected)
Vendor states this is fixed in 2:4.9-8.el9 (unaffected)
Vendor states this is fixed in 6 (unknown)
Vendor states this is fixed in 7 (unknown)
v < 4.14.0
Affected range stops below 4.14.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (7)

Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:6632
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7112
VDB Entryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/security/cve/CVE-2023-4641
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-303CWE-287

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card