
CVE catalog
CVE-2023-4641
shadow: CVE-2023-4641
- Severity
- Medium · CVSS 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 27, 2026
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. shadow-utils: possible password leak during passwd(1) change This vulnerability is classified as low severity despite of confidentiality is high because it requires an attacker to have elevated access privileges to exploit the issue, an attacker must already have significant access to the system to retrieve the password from memory. Additionally, the issue is limited to specific scenarios where a password attempt fails, which reduces its overall risk. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shadow | sid | 1:4.20.3-1 | fixed |
| Debian | shadow | forky | 1:4.20.3-1 | fixed |
| Debian | shadow | trixie | 1:4.17.4-2 | fixed |
| Debian | shadow | bookworm | 1:4.13+dfsg1-1+deb12u2 | fixed |
| Ubuntu | shadow | pro | 1:4.2-3.2ubuntu4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu1 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.3 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.5 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.5+esm1 | fixed |
| Ubuntu | shadow | 20.04 | 1:4.5-1.1ubuntu4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8-1ubuntu1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu2 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu3 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.2 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.3 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.5 | fixed |
| Ubuntu | shadow | 22.04 | 1:4.8.1-1ubuntu9 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-1ubuntu10 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu1 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2.1 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2.2 | fixed |
| Opensuse | shadow | tumbleweed | 4.19.2-2.1 | fixed |
| Suse | shadow | linux enterprise high performance computing 15 sp3-espos | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise high performance computing 15 sp3-ltss | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise server 15 sp3-ltss | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 15 sp3 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | manager proxy 4.2 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | manager server 4.2 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise micro 5.1 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise micro 5.2 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | enterprise storage 7.1 | 4.8.1-150300.4.12.1 | fixed |
| Suse | shadow | linux enterprise high performance computing 15 sp1-ltss | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | linux enterprise high performance computing 15 sp2-ltss | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | linux enterprise server 15 sp1-ltss | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | linux enterprise server 15 sp2-ltss | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 15 sp1 | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 15 sp2 | 4.6-150100.3.11.1 | fixed |
| Suse | shadow | enterprise storage 7 | 4.6-150100.3.11.1 | fixed |
| Ubuntu | shadow | pro | 1:4.2-3.2ubuntu4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu1 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.3 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.5 | vulnerable |
| Ubuntu | shadow | pro | 1:4.5-1ubuntu2.5+esm1 | fixed |
| Ubuntu | shadow | 20.04 | 1:4.5-1.1ubuntu4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8-1ubuntu1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu2 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu3 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.1 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.2 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.3 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.4 | vulnerable |
| Ubuntu | shadow | 20.04 | 1:4.8.1-1ubuntu5.20.04.5 | fixed |
| Ubuntu | shadow | 22.04 | 1:4.8.1-1ubuntu9 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-1ubuntu10 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu1 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2.1 | vulnerable |
| Ubuntu | shadow | 22.04 | 1:4.8.1-2ubuntu2.2 | fixed |
| Suse | shadow | linux enterprise micro 5.4 | 4.8.1-150400.3.3.1 | fixed |
| Suse | shadow | linux enterprise micro 5.3 | 4.8.1-150400.10.12.1 | fixed |
| Suse | shadow | linux enterprise module for basesystem 15 sp4 | 4.8.1-150400.10.12.1 | fixed |
| Suse | shadow | linux enterprise module for basesystem 15 sp5 | 4.8.1-150400.10.12.1 | fixed |
| Opensuse | shadow | leap 15.4 | 4.8.1-150400.10.12.1 | fixed |
| Opensuse | shadow | leap 15.5 | 4.8.1-150400.10.12.1 | fixed |
| Suse | shadow | linux enterprise server 12 sp5 | 4.2.1-36.6.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 12 sp5 | 4.2.1-36.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shadow | source | sid | 1:4.13+dfsg1-2 | not yet assigned | Not reported | [1051062] |
| Debian | shadow | source | forky | 1:4.13+dfsg1-2 | not yet assigned | Not reported | [1051062] |
| Debian | shadow | source | trixie | 1:4.13+dfsg1-2 | not yet assigned | Not reported | [1051062] |
| Debian | shadow | source | bookworm | 1:4.13+dfsg1-1+deb12u1 | not yet assigned | Not reported | [1051062] |
| Ubuntu | shadow | deb | pro | 1:4.5-1ubuntu2.5+esm1 | Not reported | USN-6640-1 | Not reported |
| Ubuntu | shadow | deb | 20.04 | 1:4.8.1-1ubuntu5.20.04.5 | Not reported | USN-6640-1 | Not reported |
| Ubuntu | shadow | deb | 22.04 | 1:4.8.1-2ubuntu2.2 | Not reported | USN-6640-1 | Not reported |
| Opensuse | shadow | rpm | tumbleweed | 4.19.2-2.1 | Not reported | OPENSUSE-SU-2026:10081-1 | Not reported |
| Suse | shadow | rpm | linux enterprise high performance computing 15 sp3-espos | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise high performance computing 15 sp3-ltss | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 15 sp3-ltss | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 15 sp3 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | manager proxy 4.2 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | manager server 4.2 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise micro 5.1 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise micro 5.2 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | enterprise storage 7.1 | 4.8.1-150300.4.12.1 | Not reported | SUSE-SU-2023:4027-1 | Not reported |
| Suse | shadow | rpm | linux enterprise high performance computing 15 sp1-ltss | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | linux enterprise high performance computing 15 sp2-ltss | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 15 sp1-ltss | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 15 sp2-ltss | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 15 sp1 | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 15 sp2 | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Suse | shadow | rpm | enterprise storage 7 | 4.6-150100.3.11.1 | Not reported | SUSE-SU-2023:4025-1 | Not reported |
| Ubuntu | shadow | deb | pro | 1:4.5-1ubuntu2.5+esm1 | Not reported | UBUNTU-CVE-2023-4641 | Not reported |
| Ubuntu | shadow | deb | 20.04 | 1:4.8.1-1ubuntu5.20.04.5 | Not reported | UBUNTU-CVE-2023-4641 | Not reported |
| Ubuntu | shadow | deb | 22.04 | 1:4.8.1-2ubuntu2.2 | Not reported | UBUNTU-CVE-2023-4641 | Not reported |
| Suse | shadow | rpm | linux enterprise micro 5.4 | 4.8.1-150400.3.3.1 | Not reported | SUSE-SU-2023:3591-1 | Not reported |
| Suse | shadow | rpm | linux enterprise micro 5.3 | 4.8.1-150400.10.12.1 | Not reported | SUSE-SU-2023:4024-1 | Not reported |
| Suse | shadow | rpm | linux enterprise module for basesystem 15 sp4 | 4.8.1-150400.10.12.1 | Not reported | SUSE-SU-2023:4024-1 | Not reported |
| Suse | shadow | rpm | linux enterprise module for basesystem 15 sp5 | 4.8.1-150400.10.12.1 | Not reported | SUSE-SU-2023:4024-1 | Not reported |
| Opensuse | shadow | rpm | leap 15.4 | 4.8.1-150400.10.12.1 | Not reported | SUSE-SU-2023:4024-1 | Not reported |
| Opensuse | shadow | rpm | leap 15.5 | 4.8.1-150400.10.12.1 | Not reported | SUSE-SU-2023:4024-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 12 sp5 | 4.2.1-36.6.1 | Not reported | SUSE-SU-2023:4023-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 12 sp5 | 4.2.1-36.6.1 | Not reported | SUSE-SU-2023:4023-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libsubid6]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.19.2-2.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [libsubid-devel]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.19.2-2.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [login_defs]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· noarch · tumbleweedUnknown · Fixed:
4.19.2-2.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [shadow-pw-mgmt]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.19.2-2.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [shadow]Fixed
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedFixed · Fixed:
4.19.2-2.1dsa · shadow · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libsubid4]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [login]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.13+dfsg1-1+deb12u1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
[Debian 13 (Trixie)]
- [libsubid5]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
- [login.defs]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.13+dfsg1-2dsa · shadow · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10081-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-4641]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3591-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4023-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4024-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4025-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4027-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-4641]
- [https://osv.dev/vulnerability/USN-6640-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10081-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-4641]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-4641.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2357.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]