6.1Medium

CVE-2025-14104Util-linux: util-linux: heap buffer overread in setpwnam() when processing 256-byte usernames

util-linux util-linux; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9 Published: (11 months ago)

Description

A flaw was found in util-linux. This vulnerability allows a heap buffer overread when processing 256-byte usernames, specifically within the `setpwnam()` function, affecting SUID (Set User ID) login-utils utilities writing to the password database.

Weakness (CWE): CWE-125

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ceph storage 7 —
ceph storage 8 —
ceph storage 9 —
cert manager 1.18 —
enterprise linux 8 —
enterprise linux 9 —
insights proxy 1.5 —
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 all versions
Red Hat Red Hat Ceph Storage 7 all versions
Red Hat Red Hat Ceph Storage 8 all versions
Red Hat Red Hat Ceph Storage 9 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 6 all versions
Red Hat Red Hat Enterprise Linux 7 all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Hardened Images all versions
Red Hat Red Hat Insights proxy 1.5 all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
Red Hat Red Hat Update Infrastructure 5 all versions
rhui 5 —
util-linux util-linux < 2.41.3

References and patches