Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. A flaw was found in cockpit-ws. The send_login_html() function in src/ws/cockpithandlers.c reads the CockpitLang cookie via cockpit_web_server_parse_cookie(), which returns a heap-allocated string (via g_uri_unescape_segment, transfer-full ownership). On this code path, the function's only cleanup call is g_strfreev(languages), but languages remains NULL when the value came from the cookie rather than the Accept-Language header, so the allocated 'language' string is never freed. Every unauthenticated GET request to the login page carrying a CockpitLang cookie leaks one heap allocation sized by the (attacker-controlled) decoded cookie value, up to Cockpit's ~8192-byte request-size cap. Sustained requests grow the shared cockpit-ws process's memory without bound, eventually causing it to be OOM-killed and disrupting all users of that instance, not just the attacker. Candidate upstream fix (Martin Vollmer): if (languages) g_strfreev (languages); else g_free (language);
FEDORA-2026-edff423bf7 (cockpit-367-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-edff423bf7
FEDORA-2026-a002299f28 (cockpit-367-1.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-a002299f28
FEDORA-2026-4ca90cfeb9 (cockpit-367-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-4ca90cfeb9
FEDORA-2026-4ca90cfeb9 (cockpit-367-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-edff423bf7 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-edff423bf7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-edff423bf7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-a002299f28 has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a002299f28` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a002299f28 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-edff423bf7 (cockpit-367-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-a002299f28 (cockpit-367-1.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.