CVE-2025-14104
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by redhat
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
util-linuxbefore 2.41.3
Not affected: from 0:2.40.2-15.el10_1 before *, from 0:2.32.1-48.el8_10 before *, from 0:2.37.4-21.el9_7 before *
CVE List
cert-manager/jetstack-cert-manager-acmesolver-rhel9Not specified
Not affected: from 1791459707 before *
CVE List
cert-manager/jetstack-cert-manager-rhel9Not specified
Not affected: from 1791459711 before *
CVE List
cert-manager/cert-manager-istio-csr-rhel9Not specified
Not affected: from 1791459759 before *
CVE List
cert-manager/cert-manager-operator-rhel9Not specified
Not affected: from 1789029076 before *
CVE List
cert-manager/cert-manager-operator-bundleNot specified
Not affected: from 1791966259 before *
CVE List
rhceph/rhceph-7-rhel9Not specified
Not affected: from 1770632724 before *
CVE List
rhceph/rhceph-8-rhel9Not specified
Not affected: from 1770630907 before *
CVE List
rhceph/rhceph-9-rhel9Not specified
Not affected: from 1771816028 before *
CVE List
util-linux-mainNot specified
Not affected: from 2.42-7.1.hum1 before *
CVE List
insights-proxy/insights-proxy-container-rhel9Not specified
Not affected: from 1770740405 before *
CVE List
rhui5/installer-rhel9Not specified
Not affected: from 1770646925 before *
CVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró un defecto en util-linux. Esta vulnerabilidad permite una sobrelectura de búfer de montículo al procesar nombres de usuario de 256?bytes, específicamente dentro de la función 'setpwnam()', afectando a las utilidades login?utils con SUID (Set User ID) que escriben en la base de datos de contraseñas.

References

https://access.redhat.com/errata/RHSA-2026:1696vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1852vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1913vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2485vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2563vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2737vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2800vendor-advisory
https://access.redhat.com/errata/RHSA-2026:3406vendor-advisory
https://access.redhat.com/errata/RHSA-2026:4943vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7180vendor-advisory
https://access.redhat.com/errata/RHSA-2026:82347vendor-advisory
https://access.redhat.com/errata/RHSA-2026:82354vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-14104 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-14104 changed 2026-11-05Public domain