Distro News

Ubuntu releases patch for Apache HTTP Server redirect cookie regression

Key Takeaway

Ubuntu has issued an update to fix a regression in Apache2 that prevented session cookies from being set during redirects.

Summary

Ubuntu has released USN-9016-2 to address a functional regression introduced in a previous security update (USN-9016-1). The upstream fix intended to patch multiple vulnerabilities in the Apache HTTP Server inadvertently caused a bug where cookies could not be correctly set during certain redirect operations.

This update affects a wide range of Ubuntu Long Term Support (LTS) releases, including versions 14.04, 16.04, 18.04, 20.04, 22.04, 24.04, and 26.04. System administrators using Apache2 as a web server should apply this update to restore proper cookie handling while maintaining the security fixes provided in the initial advisory.

Addressing the Apache2 regression

  • Regression Cause: The previous security patch (USN-9016-1) introduced a logic error that interfered with the ability of the server to set cookies during specific redirect scenarios.
  • Security Context: This update serves as a corrective measure to the original advisory which addressed multiple CVEs, including memory operation errors (CVE-2026-46729, CVE-2026-56153) and authentication handling issues (CVE-2026-48005).
  • Affected Packages: The update specifically targets the 'apache2' package across all major Ubuntu LTS branches.
  • Scope of Fix: While the regression was a functional issue, the underlying security vulnerabilities—ranging from denial of service to potential arbitrary code execution—remain addressed by this cumulative update.

Why it matters

For web administrators and DevOps engineers, this release is critical to ensure that session management and authentication flows (which rely on cookies) function correctly following security hardening. It highlights the importance of testing upstream security patches in staging environments to catch regressions in complex protocols like HTTP redirects.

Original reference: ubuntu.com →