CVE-2026-91142

Cockpit: cockpit: unauthorized modification of login records via integer overflow

Published Sep 18, 2026 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in Cockpit. An authenticated local user with a large user identifier (UID) can cause unauthorized modification and disclosure of login records. On 32-bit systems, an integer overflow during session accounting allows the user's login process to read or overwrite the legacy log entries of other accounts.

Analysis

AI-generated

Technical impact

An authenticated local user with a large UID can exploit an integer overflow that occurs during session accounting in Cockpit on 32‑bit (ILP32) builds. The overflow is triggered when the calculated offset for writing to the legacy lastlog file wraps around, enabling the attacker’s login process to read or overwrite other accounts’ legacy log entries. This results in unauthorized disclosure or modification of login records but does not provide privilege escalation or remote execution.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 7, 8, 9, and 10, as well as Red Hat OpenShift Dev Spaces 3. Exact version numbers are not listed in the CNA data; the build type (ILP32) is the determining factor for whether the impact applies.

Risk and Exploitability

The CVSS score of 3.6 indicates a moderate level of risk. The EPSS score is 0.00125, indicating a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog, which suggests it is not widely exploited as of the latest data. Attackers need a locally authenticated account and the ability to assign large UIDs to invoke the overflow, so the vector is largely limited to local, enterprise environments that use 32‑bit builds of Cockpit. The primary threat is the unauthorized disclosure or modification of lastlog entries rather than escalated privileges or remote compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch or upgrade to a later Cockpit release that resolves the overflow whenever one is made available by Red Hat.
  • Verify whether your Cockpit installation uses an ILP32 build; the vulnerability does not affect 64‑bit builds.
  • Implement UID limits on your system—configure login.defs or PAM limits modules to disallow UIDs that exceed the safe threshold, thereby preventing the large UID required to trigger the overflow.

Generated by OpenCVE AI on October 17, 2026 at 09:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Description A flaw was found in Cockpit. An integer overflow vulnerability in the `do_lastlog()` function, specifically in the offset calculation for `lastlog` entries on ILP32 (Integer, Long, Pointer 32-bit) builds, can be exploited. A low-privileged authenticated user with a specially provisioned large User ID (UID) can cause the computed offset to wrap around. This allows the user to perform unauthorized reads and writes to other users' `lastlog` records, potentially disclosing or altering sensitive login accounting information. A flaw was found in Cockpit. An authenticated local user with a large user identifier (UID) can cause unauthorized modification and disclosure of login records. On 32-bit systems, an integer overflow during session accounting allows the user's login process to read or overwrite the legacy log entries of other accounts.
Title Cockpit: integer overflow in `do_lastlog()` offset calculation can misaddress `lastlog` entries on ilp32 builds Cockpit: cockpit: unauthorized modification of login records via integer overflow
Weaknesses CWE-190
Type Values Removed Values Added
First Time appeared Redhat openshift Dev Spaces
Vendors & Products Redhat openshift Dev Spaces
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in Cockpit. An integer overflow vulnerability in the `do_lastlog()` function, specifically in the offset calculation for `lastlog` entries on ILP32 (Integer, Long, Pointer 32-bit) builds, can be exploited. A low-privileged authenticated user with a specially provisioned large User ID (UID) can cause the computed offset to wrap around. This allows the user to perform unauthorized reads and writes to other users' `lastlog` records, potentially disclosing or altering sensitive login accounting information.
Title Cockpit: integer overflow in `do_lastlog()` offset calculation can misaddress `lastlog` entries on ilp32 builds
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift Devspaces
Weaknesses CWE-787
CPEs cpe:/a:redhat:openshift_devspaces:3
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift Devspaces
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 7:56 PM
Reserved
Sep 14, 2026, 8:35 PM
Status
Awaiting Analysis
Published
Sep 18, 2026, 5:17 PM
Modified
Nov 6, 2026, 8:17 PM
Severity
Low
Public date
Sep 18, 2026, 4:27 PM