CVE-2025-14104: Util-linux: util-linux: heap buffer overread in setpwnam() when processing 256-byte usernames
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-14104 is a util-linux flaw in Red Hat-listed systems. A local, low-privileged user could trigger a memory overread through specific 256-byte username handling in SUID login utilities, potentially causing service impact and limited information exposure. It is not listed as known exploited in KEV.
Executive priority
Treat as routine but timely Linux platform maintenance. It is not currently known exploited, but it affects core system utilities and can impact availability where local users exist. Prioritize shared servers, bastions, developer systems, and container images based on local access risk.
Technical view
The flaw is a CWE-125 heap buffer overread in setpwnam() when processing 256-byte usernames. Red Hat describes impact on SUID login-utils utilities that write to the password database. CVSS 3.1 is 6.1: local attack, low complexity, low privileges, no user interaction, low confidentiality impact, high availability impact.
Likely exposure
Exposure is most relevant on affected Red Hat Enterprise Linux, Red Hat Ceph Storage, RHUI, Insights proxy, OpenShift/RHCOS, and Red Hat image environments containing vulnerable util-linux packages. Internet exposure alone is not the key risk; local account access is required.
Exploitation context
Sources support local exploitation prerequisites, not remote exploitation. The scenario requires a user with low privileges and username handling at the vulnerable boundary. The source bundle does not indicate public exploitation, KEV listing, or weaponized exploit availability.
Researcher notes
Evidence is Red Hat-focused. Affected product lists include multiple RHEL versions and Red Hat containerized products, but exact upstream util-linux version boundaries are not fully established in the provided bundle. Use vendor advisories for final affected/fixed package decisions.
Mitigation direction
Apply the applicable Red Hat RHSA updates for util-linux or affected product images.
Prioritize systems allowing local shell access or account-management workflows.
Refresh vulnerable container or base images using Red Hat advisory guidance.
If updates are unavailable, monitor Red Hat CVE guidance and limit local account access.
Check non-Red Hat distributions for their own util-linux advisories.
Validation and detection
Inventory util-linux packages on affected Red Hat platforms and images.
Compare installed versions against Red Hat CVE and RHSA applicability.
Confirm updated packages or rebuilt images are deployed after remediation.
Review local account policies for unusually long usernames.
Track scanner findings for CVE-2025-14104 after updates.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.