Skip to content
OpenAdvisories
Medium SUSE-RU-2026:1228-1 2 CVEs

Recommended update for shadow

Published Apr 9, 2026 · Updated Apr 10, 2026

Summary

This update for shadow fixes the following issues:

shadow is updated to 4.17.2 to bring lots of features and bug fixes.

- util-linux-2.41 introduced new variable: LOGIN_ENV_SAFELIST. Recognize
it and update dependencies.

- Set SYS_{UID,GID}_MIN to 201:
After repeated similar requests to change the ID ranges we set the
above mentioned value to 201. The max value will stay at 499.
This range should be sufficient and will give us leeway for the
future.
It's not straightforward to find out which static UIDs/GIDs are
used in all packages.

Update to 4.17.2:

* src/login_nopam.c: Fix compiler warnings #1170
* lib/chkname.c: Put limits for LOGIN_NAME_MAX and sysconf(_SC_LOGIN_NAME_MAX) #1169
* Use HTTPS in link to Wikipedia article on password strength #1164
* lib/attr.h: use C23 attributes only with gcc >= 10 #1172
* login: Fix no-pam authorization regression #1174
* man: Add Portuguese translation #1178
* Update French translation #1177
* Add cheap defense mechanisms #1171
* Add Romanian translation #1176

Update to 4.17.1:

* Fix `su -` regression #1163

Update to 4.17.0:

* Fix the lower part of the domain of csrand_uniform()
* Fix use of volatile pointer
* Use str2[u]l() instead of atoi(3)
* Use a2i() in various places
* Fix const correctness
* Use uid_t for holding UIDs (and GIDs)
* Move all sprintf(3)-like APIs to a subdirectory
* Move all copying APIs to a subdirectory
* Fix forever loop on ENOMEM
* Fix REALLOC() nmemb calculation
* Remove id(1)
* Remove groups(1)
* Use local time for human-readable dates
* Use %F instead of %Y-%m-%d with strftime(3)
* is_valid{user,group}_name(): Set errno to distinguish the reasons
* Recommend --badname only if it is useful
* Add fmkomstemp() to fix mode of /etc/default/useradd
* Fix use-after-free bug in sgetgrent()
* Update Catalan translation
* Remove references to cppw, cpgr
* groupadd, groupmod: Update gshadow file with -U
* Added option -a for listing active users only, optimized using if aflg,return
* Added information in lastlog man page for new option '-a'
* Plenty of code cleanup and clarifications

- Disable flushing sssd caches. The sssd's files provider is no
longer available.

Update to 4.16.0:

* The shadow implementations of id(1) and groups(1) are deprecated
in favor of the GNU coreutils and binutils versions.
They will be removed in 4.17.0.
* The rlogind implementation has been removed.
* The libsubid major version has been bumped, since it now requires
specification of the module's free() implementation.

Update to 4.15.1:

* Fix a bug that caused spurious error messages about unknown
login.defs configuration options #967
* Adding checks for fd omission #964
* Use temporary stat buffer #974
* Fix wrong french translation #975

Update to 4.15.0

* libshadow:
+ Use utmpx instead of utmp. This fixes a regression introduced
in 4.14.0.
+ Fix build error (parameter name omitted).
* Build system:
+ Link correctly with libdl.
+ Install pam configs for chpasswd(8) and newusers(8) when using
./configure --with-libpam --disable-account-tools-setuid.
+ Merge libshadow and libmisc into a single libshadow. This fixes
problems in the linker, which were reported at least in Gentoo.
+ Fix build with musl libc.
+ Support out of tree builds
* useradd(8):
+ Set proper SELinux labels for def_usrtemplate

Update to 4.14.6:

* login(1):
+ Fix off-by-one bugs.
* passwd(1):
+ Don't silently truncate passwords of length >= 200 characters.
Instead, accept a length of PASS_MAX, and reject longer ones.
* libshadow:
+ Fix calculation in strtoday(), which caused a wrong half-day
offset in some cases (bsc#1176006)
+ Fix parsing of dates in get_date() (bsc#1176006)
+ Use utmpx instead of utmp. This fixes a regression introduced in
4.14.0.

Update to 4.14.5:

* Build system:
+ Fix regression introduced in 4.14.4, due to a typo. chgpasswd had
been deleted from a Makefile variable, but it should have been
chpasswd.

Update to 4.14.4:

* Build system:
+ Link correctly with libdl.
+ Install pam configs for chpasswd(8) and newusers(8) when using
./configure --with-libpam --disable-account-tools-setuid.
* libshadow:
+ Fix build error (parameter name omitted).
+ Fix off-by-one bug.
+ Remove warning.

Update to 4.14.3:

* libshadow: Avoid null pointer dereference (#904)

* Remove pam_keyinit from PAM configuration. (bsc#1199026 bsc#1203823)
This was introduced for bsc#1144060.

Update to 4.14.2:

* libshadow:

+ Fix build with musl libc.
+ Avoid NULL dereference.
+ Update utmp at an initial login

* useradd(8):

+ Set proper SELinux labels for def_usrtemplate

* Manual:

+ Document --prefix in chage(1), chpasswd(8), and passwd(1)

Update to 4.14.1:

Build system: Merge libshadow and libmisc into a single libshadow.
This fixes problems in the linker, which were reported at least
in Gentoo. #791

- Set proper SELinux labels for new homedirs.

Update to 4.14.0:

* configure: add with-libbsd option
* Code cleanup
* Replace utmp interface #757
* new option enable-logind #674
* shadow userdel: add the adaptation to the busybox ps in 01-kill_user_procs.sh
* chsh: warn if root sets a shell not listed in /etc/shells #535
* newgrp: fix potential string injection
* lastlog: fix alignment of Latest header
* Fix yescrypt support #748
* chgpasswd: Fix segfault in command-line options
* gpasswd: Fix password leak (bsc#1214806, CVE-2023-4641)
* Add --prefix to passwd, chpasswd and chage #714 (bsc#1206627)
* usermod: fix off-by-one issues #701
* ch(g)passwd: Check selinux permissions upon startup #675
* sub_[ug]id_{add,remove}: fix return values
* chsh: Verify that login shell path is absolute #730
* process_prefix_flag: Drop privileges
* run_parts for groupadd and groupdel #706
* newgrp/useradd: always set SIGCHLD to default
* useradd/usermod: add --selinux-range argument #698
* sssd: skip flushing if executable does not exist #699
* semanage: Do not set default

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.6 shadow 4.17.2-150600.17.18.1
SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 shadow 4.17.2-150600.17.18.1

Vulnerabilities 2

References

  • report
    https://bugzilla.suse.com/1144060
  • report
    https://bugzilla.suse.com/1176006
  • report
    https://bugzilla.suse.com/1181400
  • report
    https://bugzilla.suse.com/1182850
  • report
    https://bugzilla.suse.com/1185897
  • report
    https://bugzilla.suse.com/1187536
  • report
    https://bugzilla.suse.com/1189139
  • report
    https://bugzilla.suse.com/1199026
  • report
    https://bugzilla.suse.com/1203823
  • report
    https://bugzilla.suse.com/1205502
  • report
    https://bugzilla.suse.com/1206627
  • report
    https://bugzilla.suse.com/1214806
  • report
    https://bugzilla.suse.com/1246052
  • report
    https://bugzilla.suse.com/916845
  • web
    https://www.suse.com/security/cve/CVE-2013-4235
  • web
    https://www.suse.com/security/cve/CVE-2023-4641