CVE-2026-91142 PUBLISHED

Cockpit: integer overflow in `do_lastlog()` offset calculation can misaddress `lastlog` entries on ilp32 builds

Assigner: redhat
Reserved: 14.09.2026 Published: 18.09.2026 Updated: 18.09.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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS Score: 3.6

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: unknown
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: unknown
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected
Vendor Red Hat
Product Red Hat OpenShift Dev Spaces
Versions Default: unknown
Vendor Red Hat
Product Red Hat OpenShift Dev Spaces
Versions Default: unknown
Vendor Red Hat
Product Red Hat OpenShift Dev Spaces
Versions Default: unknown

Credits

  • This issue was discovered by Found by AISLE in partnership with Red Hat.

References

Problem Types

  • Out-of-bounds Write CWE