Public vulnerability disclosure

CVE-2025-14104

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

publishedCWE-125

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.

Technical severity6.1 mediumCVSS 3.1 · CNA: redhat
Published2025-12-05Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
util-linux
util-linux
util-linux
https://github.com/util-linux/util-linux
≥ 0; < 2.41.3 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
util-linux
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.40.2-15.el10_1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
util-linux
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.32.1-48.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
util-linux
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.37.4-21.el9_7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Cert Manager support for Red Hat OpenShift release 1.18
Red Hat
cert-manager/jetstack-cert-manager-acmesolver-rhel9
https://catalog.redhat.com/software/containers/
≥ 1791459707; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Cert Manager support for Red Hat OpenShift release 1.18
Red Hat
cert-manager/jetstack-cert-manager-rhel9
https://catalog.redhat.com/software/containers/
≥ 1791459711; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Cert Manager support for Red Hat OpenShift release 1.18
Red Hat
cert-manager/cert-manager-istio-csr-rhel9
https://catalog.redhat.com/software/containers/
≥ 1791459759; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Cert Manager support for Red Hat OpenShift release 1.18
Red Hat
cert-manager/cert-manager-operator-rhel9
https://catalog.redhat.com/software/containers/
≥ 1789029076; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Cert Manager support for Red Hat OpenShift release 1.18
Red Hat
cert-manager/cert-manager-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 1791966259; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 7
Red Hat
rhceph/rhceph-7-rhel9
https://catalog.redhat.com/software/containers/
≥ 1770632724; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 8
Red Hat
rhceph/rhceph-8-rhel9
https://catalog.redhat.com/software/containers/
≥ 1770630907; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Ceph Storage 9
Red Hat
rhceph/rhceph-9-rhel9
https://catalog.redhat.com/software/containers/
≥ 1771816028; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Hardened Images
Red Hat
util-linux-main
https://catalog.redhat.com/software/containers/
≥ 2.42-7.1.hum1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Insights proxy 1.5
Red Hat
insights-proxy/insights-proxy-container-rhel9
https://catalog.redhat.com/software/containers/
≥ 1770740405; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/installer-rhel9
https://catalog.redhat.com/software/containers/
≥ 1770646925; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/cds-rhel9
https://catalog.redhat.com/software/containers/
≥ 1773670073; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/haproxy-rhel9
https://catalog.redhat.com/software/containers/
≥ 1773672059; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/rhua-rhel9
https://catalog.redhat.com/software/containers/
≥ 1773670137; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
util-linux-ng
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
util-linux
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.1
medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:HCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide