Memory Exhaustion Denial of Service in cockpit-ws (CVE-2026-76235)
A heap-based memory leak in the cockpit-ws service allows unauthenticated remote attackers to trigger a denial of service via malformed Cookie headers.
CVE search metadata
CVE search record: CVE-2026-76235. Severity: high. CVSS: 7.5. KEV: no. Product: cockpit-ws. Brief: Memory Exhaustion Denial of Service in cockpit-ws (CVE-2026-76235). Brief link: https://feed.craftedsignal.io/briefs/2026-08-cockpit-ws-dos/
CVE-2026-76235 describes a memory exhaustion vulnerability (CWE-401) affecting the cockpit-ws component in Red Hat Enterprise Linux. The vulnerability resides in the login page handler, which improperly handles heap memory allocation when processing incoming requests containing a 'CockpitLang' cookie. A remote, unauthenticated attacker can repeatedly send requests with this specific cookie to trigger a memory leak, eventually leading to system resource exhaustion and a denial-of-service condition for the affected host. This issue affects various versions of Red Hat Enterprise Linux including RHEL 7, 8, 9, and 10. The vulnerability is classified with a CVSS 3.1 base score of 7.5.
Attack Chain
- Attacker identifies a target running the cockpit-ws service (typically listening on TCP 9090).
- Attacker initiates an unauthenticated HTTP connection to the Cockpit login endpoint.
- Attacker crafts an HTTP request header containing the 'CockpitLang' cookie.
- Attacker sends multiple requests in rapid succession to the login handler.
- The cockpit-ws service fails to release heap memory associated with the 'CockpitLang' header processing.
- Memory usage on the host system grows until all available RAM is exhausted.
- The host experiences a service failure or system-wide denial of service.
Impact
Successful exploitation results in a denial of service, rendering the Cockpit management interface and potentially other host services unresponsive. This affects systems deployed in production environments utilizing Red Hat Enterprise Linux 7, 8, 9, or 10.
Recommendation
Prioritized actions for detection and mitigation:
- Patch the cockpit-ws package to the vendor-provided security update immediately (see Red Hat Bugzilla ID 2519497).
- Configure network firewalls to restrict access to TCP port 9090 to trusted management networks only to prevent unauthenticated access.
- Monitor webserver logs or network traffic for anomalous volumes of requests targeting the Cockpit login path from single source IPs.
Immediate actions
Apply security updates for cockpit-ws as provided by Red Hat.
Mitigations
Restrict access to TCP port 9090 via firewall
CVE-2026-76235