Skip to main content

A flaw was found in Cockpit. An integer overflow vulnerability in the do_lastlog() function, specifically in the offset calculation for lastlog… (CVE-2026-91142)

0
Medium
Published: 09/18/2026 (09/18/2026, 17:17:00 UTC)
Source: GCVE Database
Product: cockpit

Description

An integer overflow vulnerability exists in Cockpit's do_lastlog() function on ILP32 builds. A low-privileged authenticated user with a large User ID (UID) can cause the offset calculation to wrap around, enabling unauthorized reads and writes to other users' lastlog records. This flaw may disclose or alter sensitive login accounting information but does not allow code execution or privilege escalation. The vulnerability has a medium severity with a CVSS score of 3.6.

CVSS v3.1

Score 3.6low

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

Ubuntu:18.04:LTSmore threats →ghsa
cockpit
pkg:deb/ubuntu/cockpit?arch=source&distro=bionic
Affected versions
=151-1=156-1=157-1=158-1=160-1=161-1=162-1=163-1=164-1
Ubuntu:20.04:LTSmore threats →ghsa
cockpit
pkg:deb/ubuntu/cockpit?arch=source&distro=focal
Affected versions
=202.1-1=204-1=206-1=207-1=208-1=210-1=211-1=212-1=213-1=214.1-1=215-1
Ubuntu:22.04:LTSmore threats →ghsa
cockpit
pkg:deb/ubuntu/cockpit?arch=source&distro=jammy
Affected versions
=252-1=256-1=257-1=258-1=259-1=260-1=261-1=262-1=263-1=264-1=264-1ubuntu0.22.04.1
Ubuntu:24.04:LTSmore threats →ghsa
cockpit
pkg:deb/ubuntu/cockpit?arch=source&distro=noble
Affected versions
=300.1-1=303-1=304-1=305-1=306-1=307-1=308-1=309-1=310.1-1=311-1=312-1build2=314-1
Ubuntu:26.04:LTSmore threats →ghsa
cockpit
pkg:deb/ubuntu/cockpit?arch=source&distro=resolute
Affected versions
=346-1=348-1=350-1=352-1=353.1-1=354-1=355-1=356-1=360-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/24/2026, 06:38:25 UTC

Technical Analysis

CVE-2026-91142 is an integer overflow vulnerability in Cockpit's do_lastlog() function affecting ILP32 (32-bit Integer, Long, Pointer) builds. The flaw arises from improper offset calculation for lastlog entries, where a low-privileged authenticated user with a specially provisioned large UID can cause the offset to wrap around. This results in misaddressed lastlog entries, allowing unauthorized cross-user reads and writes of legacy lastlog records. The vulnerability impacts confidentiality and integrity of login accounting data but does not lead to code execution or privilege escalation. Exploitation requires local access with authentication and high attack complexity.

Potential Impact

The vulnerability allows a low-privileged authenticated user to read and modify other users' lastlog records due to an integer overflow in offset calculation. This can lead to disclosure and alteration of sensitive login accounting information. There is no impact on availability or possibility of code execution or privilege escalation.

Mitigation Recommendations

No official fix or patch link is provided in the advisory. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Exploitation requires a specially provisioned large UID and local authenticated access with high attack complexity. Monitor vendor updates for patches or mitigations. No urgent action is indicated beyond applying vendor fixes when available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-91142
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab4be43f7a7c54106f02803

Added to database: 09/24/2026, 06:08:03 UTC

Last enriched: 09/24/2026, 06:38:25 UTC

Last updated: 09/24/2026, 07:47:33 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses