CVE-2026-76235
Received Received - Intake

Memory Leak in Cockpit-WS via Unauthenticated Requests

Vulnerability report for CVE-2026-76235, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: redhat-SADP

Description

A memory leak flaw was found in cockpit-ws. The login page handler leaks a heap allocation on every unauthenticated request that carries a CockpitLang cookie, allowing a remote unauthenticated attacker to exhaust memory on the host and cause a denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
redhat cockpit-ws *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-76235 is a memory leak flaw in cockpit-ws, the web service for the Cockpit management interface. When unauthenticated requests include a CockpitLang cookie, the login page handler leaks heap memory. The issue occurs because the cleanup process fails to free allocated memory for the cookie value, causing memory exhaustion over time.

Detection Guidance

Monitor cockpit-ws memory usage for gradual increases over time, especially after handling login page requests with CockpitLang cookies. Check system logs for out-of-memory (OOM) events or cockpit-ws crashes. Use tools like 'top', 'htop', or 'ps' to observe memory consumption of the cockpit-ws process. Look for repeated GET requests to the login page with the CockpitLang cookie in web server access logs.

  • Check cockpit-ws memory usage: ps aux | grep cockpit-ws or top -p $(pgrep cockpit-ws)
  • Monitor logs: journalctl -u cockpit-ws --no-pager | grep -i 'memory leak' or 'OOM'
  • Inspect web server logs: grep 'GET /login' /var/log/nginx/access.log or similar for repeated requests with CockpitLang cookie
Impact Analysis

This vulnerability allows a remote attacker to send repeated requests with a CockpitLang cookie, causing the cockpit-ws process to consume excessive memory. This can lead to an out-of-memory condition, disrupting all users of the affected system by making the service unavailable.

Mitigation Strategies

Restrict network access to the cockpit port immediately to limit exposure. Temporarily block or filter requests containing the CockpitLang cookie at the firewall or web server level. Update cockpit-ws to the latest patched version once available. If patching is not possible, consider disabling cockpit-ws until a fix is applied to prevent potential DoS attacks.

  • Restrict cockpit port access: firewall-cmd --add-rich-rule='rule family="ipv4" port port="9090" protocol="tcp" reject' or use iptables
  • Block CockpitLang cookie requests: Configure web server (e.g., Nginx) to drop requests with 'CockpitLang' in headers or cookies
  • Monitor and restart: Set up alerts for cockpit-ws memory spikes and ensure systemd auto-restart is enabled

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76235. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart