StackPatch is liveSee product

Back to CVE digest
CVE-2024-42516 · cross-distro fix matrix

CVE-2024-42516: It was discovered that Apache HTTP Server incorrectly handled certain

Affects 10 Linux releases across 50 (distro × package) combinations. First disclosed: 2026-05-28.

Fix per ecosystem

Each block below is a distro release where CVE-2024-42516 has a known fix. Run the listed command on that distro to remediate.

Ubuntu bionic

Source: Ubuntu USN

  • apache2→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2
  • apache2-bin→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-bin
  • apache2-data→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-data
  • apache2-dev→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-dev
  • apache2-doc→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-doc
  • apache2-ssl-dev→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-ssl-dev
  • apache2-suexec-custom→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-custom
  • apache2-suexec-pristine→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-pristine
  • apache2-utils→ fixed in2.4.29-1ubuntu4.27+esm7USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-utils

Ubuntu focal

Source: Ubuntu USN

  • apache2→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2
  • apache2-bin→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-bin
  • apache2-data→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-data
  • apache2-dev→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-dev
  • apache2-doc→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-doc
  • apache2-ssl-dev→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-ssl-dev
  • apache2-suexec-custom→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-custom
  • apache2-suexec-pristine→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-pristine
  • apache2-utils→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-utils
  • libapache2-mod-md→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y libapache2-mod-md
  • libapache2-mod-proxy-uwsgi→ fixed in2.4.41-4ubuntu3.23+esm3USN-8338-1
    sudo apt-get install --only-upgrade -y libapache2-mod-proxy-uwsgi

Ubuntu trusty

Source: Ubuntu USN

  • apache2→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2
  • apache2-bin→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-bin
  • apache2-data→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-data
  • apache2-dev→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-dev
  • apache2-doc→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-doc
  • apache2-mpm-event→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-mpm-event
  • apache2-mpm-itk→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-mpm-itk
  • apache2-mpm-prefork→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-mpm-prefork
  • apache2-mpm-worker→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-mpm-worker
  • apache2-suexec→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec
  • apache2-suexec-custom→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-custom
  • apache2-suexec-pristine→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-pristine
  • apache2-utils→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-utils
  • apache2.2-bin→ fixed in2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y apache2.2-bin
  • libapache2-mod-macro→ fixed in1:2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y libapache2-mod-macro
  • libapache2-mod-proxy-html→ fixed in1:2.4.7-1ubuntu4.22+esm12USN-8338-1
    sudo apt-get install --only-upgrade -y libapache2-mod-proxy-html

Ubuntu xenial

Source: Ubuntu USN

  • apache2→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2
  • apache2-bin→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-bin
  • apache2-data→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-data
  • apache2-dev→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-dev
  • apache2-doc→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-doc
  • apache2-suexec-custom→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-custom
  • apache2-suexec-pristine→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-suexec-pristine
  • apache2-utils→ fixed in2.4.18-2ubuntu3.17+esm17USN-8338-1
    sudo apt-get install --only-upgrade -y apache2-utils

Debian bullseye

Source: Debian Security Tracker

  • apache2→ fixed in2.4.65-1~deb11u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y apache2

Debian bookworm

Source: Debian Security Tracker

  • apache2→ fixed in2.4.65-1~deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y apache2

Debian trixie

Source: Debian Security Tracker

  • apache2→ fixed in2.4.64-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y apache2

Alpine v3.20

Source: Alpine secdb

  • apache2→ fixed in2.4.64-r0
    apk update && apk add --upgrade apache2

Alpine v3.21

Source: Alpine secdb

  • apache2→ fixed in2.4.64-r0
    apk update && apk add --upgrade apache2

Alpine edge

Source: Alpine secdb

  • apache2→ fixed in2.4.64-r0
    apk update && apk add --upgrade apache2
Are YOU affected by CVE-2024-42516?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-42516dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)