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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | shadow-utils | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shadow | 1:4.13+dfsg1-2 | — |
| Debian 13 | shadow | 1:4.13+dfsg1-2 | — |
| Debian 12 | shadow | 1:4.13+dfsg1-1+deb12u1 | — |
| Debian 11 | shadow | 1:4.8.1-1+deb11u1 | DLA-4130-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | shadow | 1:4.8.1-2ubuntu2.2 | USN-6640-1 |
| Ubuntu 20.04 LTS | shadow | 1:4.8.1-1ubuntu5.20.04.5 | USN-6640-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | shadow | 1:4.5-1ubuntu2.5+esm1 | USN-6640-1 |
| Ubuntu Pro 16.04 LTS | shadow | 1:4.2-3.1ubuntu5.5+esm4 | USN-6640-1 |
| Ubuntu Pro 14.04 LTS | shadow | 1:4.1.5.1-1ubuntu9.5+esm4 | USN-6640-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | shadow-utils +2 | 2:4.9-8.el9 | RHSA-2023:6632 |
| RHEL 8 | shadow-utils +2 | 2:4.6-19.el8 | RHSA-2023:7112 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.8 EUS | shadow-utils +2 | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| RHEL 8.6 EUS | shadow-utils +2 | 2:4.6-17.el8_6 | RHSA-2024:0417 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | shadow-utils +2 | 2:4.9-8.el9 | ALSA-2023:6632 |
| AlmaLinux 8 | shadow-utils +2 | 2:4.6-19.el8 | ALSA-2023:7112 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | shadow | 4.17.2-150600.17.18.1 | SUSE-RU-2026:1228-1 |
| SLES 15 SP5 | shadow | 4.8.1-150400.10.12.1 | SUSE-SU-2023:4024-1 |
| SLES 15 SP4 | shadow | 4.8.1-150400.10.12.1 | SUSE-SU-2023:4024-1 |
| SLES 15 SP3 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SLES 15 SP2 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
| SLES 12 SP5 | shadow | 4.2.1-36.6.1 | SUSE-SU-2023:4023-1 |
| SLES for SAP 15 SP3 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SLES for SAP 15 SP2 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
| SLES for SAP 15 SP1 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
| SLES for SAP 12 SP5 | shadow | 4.2.1-36.6.1 | SUSE-SU-2023:4023-1 |
| SLE Micro 5.5 | shadow | 4.8.1-150500.3.3.1 | SUSE-SU-2024:1007-2, SUSE-SU-2024:1007-1 |
| SLE Micro 5.4 | shadow | 4.8.1-150400.3.3.1 | SUSE-SU-2023:3591-1 |
| SLE Micro 5.3 | shadow | 4.8.1-150400.10.12.1 | SUSE-SU-2023:4024-1 |
| SLE Micro 5.2 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SLE Micro 5.1 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SLE HPC 15 SP3 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SLE HPC 15 SP2 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
| SLE HPC 15 SP1 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
| SUSE Manager Server 4.2 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SUSE Manager Proxy 4.2 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SUSE Enterprise Storage 7.1 | shadow | 4.8.1-150300.4.12.1 | SUSE-SU-2023:4027-1 |
| SUSE Enterprise Storage 7 | shadow | 4.6-150100.3.11.1 | SUSE-SU-2023:4025-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | shadow | 4.19.2-2.1 | openSUSE-SU-2026:10081-1 |
| openSUSE Leap 15.6 | shadow | 4.17.2-150600.17.18.1 | SUSE-RU-2026:1228-1 |
| openSUSE Leap 15.5 | shadow | 4.8.1-150400.10.12.1 | SUSE-SU-2023:4024-1 |
| openSUSE Leap 15.4 | shadow | 4.8.1-150400.10.12.1 | SUSE-SU-2023:4024-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | shadow-utils +2 | 2:4.9-12.amzn2023.0.4 | ALAS2023-2023-450 |
| Amazon Linux 2 | shadow-utils | 2:4.1.5.1-24.amzn2.0.3 | ALAS2-2023-2247 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | shadow-utils | 4.9-14 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | shadow-utils +2 | 2:4.9-8.el9 | ELSA-2023-6632 |
| Oracle Linux 8 | shadow-utils +2 | 2:4.6-19.el8 | ELSA-2023-7112 |
Advisories 28
- ALSA-2023:6632 Low: shadow-utils security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7112 Low: shadow-utils security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2357 shadow: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Aug 31, 2026
- USN-6640-1 shadow vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2024:2577 Red Hat Security Advisory: shadow-utils security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:7112 Red Hat Security Advisory: shadow-utils security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2024:0417 Red Hat Security Advisory: shadow-utils security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:6632 Red Hat Security Advisory: shadow-utils security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- SUSE-RU-2026:1228-1 Recommended update for shadow SUSE / openSUSE Security Updates · Apr 10, 2026
- openSUSE-SU-2026:10081-1 libsubid-devel-4.19.2-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4130-1 shadow - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:1007-2 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4027-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1007-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4025-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3591-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4024-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4023-1 Security update for shadow SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- SSA-202008 SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 Siemens ProductCERT · Dec 9, 2025
- WID-SEC-2024-0869 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- WID-SEC-2024-2100 IBM Power Hardware Management Console: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2024
- ALAS2023-2023-450 Low: shadow-utils security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 14, 2023
- WID-SEC-2023-3146 IBM MQ Operator and Queue manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 13, 2023
- ELSA-2023-7112 Low: shadow-utils security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 17, 2023
- ELSA-2023-6632 Low: shadow-utils security and bug fix update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- ALAS2-2023-2247 Low: shadow-utils security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 20, 2023
References
- RHSA-2023:6632 vendor-advisory
- RHSA-2023:7112 vendor-advisory
- RHSA-2024:0417 vendor-advisory
- RHSA-2024:2577 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-4641 vdb-entry
- RHBZ#2215945 issue-tracking