Skip to content
Red HatCVE-2026-91142

Red Hat Cockpit. An integer overflow vulnerability: integer overflow

Low3.6CVE-2026-91142 · Published Sep 18, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 10
Product
all versionsNo fix yet
Red Hat Enterprise Linux 7
Product
all versionsNo fix yet
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Red Hat OpenShift Dev Spaces
Product
all versionsNo fix yet
all versionsNo fix yet
all versionsNo fix yet
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-787

More Red Hat advisories

All Red Hat
Advisory
Red Hat OpenShift Container Platform 4: server-side request forgery
Critical9.3Sep 18
Red Hat Netty: request smuggling
Medium6.5Sep 18
Red Hat Netty: request smuggling
Medium6.5Sep 18
A flaw was found in cockpit-files
Medium6.1Sep 18
Red Hat cockpit-files. This vulnerability: race condition
Medium6.0Sep 18
Red Hat cockpit-files: race condition
Medium6.0Sep 18

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.