Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Cockpit with large-UID account
  2. Delivery
    Trigger do_lastlog offset calculation
  3. Exploit
    Integer overflow wraps 32-bit offset
  4. Execution
    Read/write another user's lastlog record
  5. Impact
    Disclose or tamper login accounting data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires all of the following: (1) an ILP32 / 32-bit build of Cockpit - 64-bit LP64 builds do not overflow and are unaffected; (2) a low-privileged but authenticated account that an administrator has provisioned with an abnormally large UID, so the 32-bit offset computation in do_lastlog() wraps; and (3) local-vector access to the affected host per the vendor's AV:L rating. Limiting factors: 32-bit RHEL/Cockpit deployments are increasingly uncommon, the large-UID account must be deliberately created by an admin (not attacker-controlled), and no user interaction is needed but authentication is. This is NOT a remote-unauthenticated-against-default-config scenario.

Impact

This is a genuinely low-priority issue despite being a memory-safety class (CWE-787) flaw. The vendor CVSS 3.1 vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N scores only 3.6, and every signal points to constrained, hard-to-reach exploitation: local vector (AV:L), high attack complexity (AC:H - the integer overflow only triggers on ILP32/32-bit builds AND requires an account provisioned with an abnormally large UID), and low-privileged authenticated access (PR:L). Impact is limited to partial disclosure and tampering of lastlog login-accounting records (C:L/I:L, A:N) - not code execution or full compromise, so the CWE-787 'out-of-bounds write' maps to writing wrong offsets in the lastlog store rather than exploitable memory corruption. No EPSS score, no CISA KEV listing, and no public exploit are present in the input: exploitation status is 'no public exploit identified at time of analysis.' One tension worth flagging: Cockpit is a network-accessed web console (typically port 9090), so AV:N is defensible, yet the vendor chose AV:L - the local rating is consistent with the flaw acting on the local lastlog store and requiring a pre-provisioned local account, but verify the intended vector with Red Hat. Bottom line: low real-world risk, dominated by the ILP32-only and large-UID preconditions.

Exploit ScenarioDerived

On a 32-bit (ILP32) build of Cockpit, an administrator has provisioned a low-privileged user account with a very large UID. That authenticated user logs in and triggers do_lastlog(), where the offset calculation for their lastlog entry overflows and wraps around, aliasing another user's record - letting the attacker read or overwrite other users' login-accounting data. No public exploit code is identified at time of analysis, and the attack requires both a 32-bit build and the unusual large-UID precondition.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

An integer-wraparound in Cockpit's do_lastlog() login-accounting routine on ILP32 (32-bit) builds allows a low-privileged but authenticated local user holding an administrator-provisioned abnormally large UID to read and modify other users' lastlog records, producing low confidentiality and low integrity impact (CVSS 3.1 base 3.6, AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N). Exploitation requires a 32-bit build, a deliberately created large-UID account, and local access to the host; 64-bit LP64 builds do not overflow and are unaffected, and no public exploit code has been identified at time of analysis.

RemediationAI

No vendor-released patch or fixed package version is identified in the available advisory data at time of analysis; monitor https://access.redhat.com/security/cve/CVE-2026-91142 and https://bugzilla.redhat.com/show_bug.cgi?id=2479459 for the errata package version and apply it as soon as it is published. Because the flaw only triggers on ILP32 builds, the most effective workaround is to migrate the affected host or container image to a 64-bit LP64 build of Cockpit, where the offset arithmetic cannot wrap - the trade-off being that unsupported 32-bit hardware or legacy image dependencies must be re-platformed. Administrators should also audit account inventories for abnormally large UIDs (for example values approaching or exceeding 2^31) and remove or reassign them, since the attack prerequisites include an admin-provisioned oversized UID; the side effect is that legitimate high-UID service or integration accounts must be renumbered, which can break file ownership and NSS/LDAP mappings. Restricting local login to trusted operators reduces exposure but does not remove the underlying defect, and disabling Cockpit's login-history views entirely removes the attack surface at the cost of losing the console's lastlog reporting feature.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cockpit is Red Hat's browser-based Linux server administration console, shipped with Red Hat Enterprise Linux 7 through 10 and bundled into Red Hat OpenShift Dev Spaces images. Its do_lastlog() routine reads the on-disk lastlog database, which stores one fixed-size record per UID, and derives each record's file offset by multiplying the UID by the record size. On ILP32 builds - where int, long and pointers are all 32 bits - an abnormally large UID makes that arithmetic wrap, so the computed offset lands on another user's record instead of the requesting user's own. The subsequent operations then read and write outside the intended bounds, which is the CWE-787 (out-of-bounds write) behaviour plus the integer-overflow root cause flagged by Red Hat, letting the caller disclose or tamper with login accounting data. On LP64 (64-bit) builds the wider integer type keeps the offset calculation in range, so the defect is confined to ILP32 platforms; the CVSS vector (AV:L/AC:H/PR:L/UI:N) confirms the attack is local, high-complexity, requires low privilege with authentication, and needs no user interaction.

Know when Cockpit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 3.6 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 3.6 LOW

ILP32-only plus admin-provisioned large-UID precondition make AC:H; low-priv authenticated (PR:L); only partial lastlog read/tamper (C:L/I:L, A:N); AV:L per vendor though AV:N is defensible for a web console.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
Cockpit is the default web console shipped across RHEL 7 through 10
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_dev_spaces:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_dev_spaces:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_dev_spaces:*:*:*:*:*:*:*:*
CVE-2020-35847 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical

CVE-2020-35846 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit

CVE-2022-2713 CRITICAL POC
9.8 Aug 08

Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.

CVE-2020-35848 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s

CVE-2018-15540 CRITICAL POC
9.8 Oct 15

Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t

CVE-2018-9302 CRITICAL POC
9.1 May 02

SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r

CVE-2023-4195 HIGH POC
8.8 Aug 06

PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v

CVE-2023-37650 HIGH POC
8.8 Jul 20

A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi

CVE-2023-1313 HIGH POC
8.8 Mar 10

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever

CVE-2023-0759 HIGH POC
8.8 Feb 09

Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab

CVE-2022-2818 HIGH POC
8.8 Aug 15

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.

CVE-2026-34965 HIGH POC
8.7 Apr 29

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy