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)
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.
AI Analysis
Technical Summary
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.
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)
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
Affected software
pkg:deb/ubuntu/cockpit?arch=source&distro=bionicpkg:deb/ubuntu/cockpit?arch=source&distro=focalpkg:deb/ubuntu/cockpit?arch=source&distro=jammypkg:deb/ubuntu/cockpit?arch=source&distro=noblepkg:deb/ubuntu/cockpit?arch=source&distro=resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.