Heroku-22 and Heroku-24 stacks updated

Change effective on 19 May 2026

We updated the heroku-22 and heroku-24 stacks to pick up security fixes in upstream packages. The new base images for each stack roll out automatically to the Common Runtime over the next 48 hours, followed by Private Spaces.

If you use Heroku’s default buildpack-powered build system/stacks, you don’t need to redeploy your app to include these changes. We automatically restart any running dynos as we roll out the new base images for each stack. For Cedar-generation apps, each time a dyno starts, the slug applies on top of the most recent base image. For Fir-generation apps, the built image gets rebased on top of the most recent base image.

If your app uses Heroku’s container stack (most don’t), you must rebuild your app’s Docker image to pick up updates in the base image specified in your Dockerfile.

See this Dev Center article for an overview of the packages available in each stack’s base image.

Changelog of packages

Stack: heroku-22

  • Removed postgresql-client-17
  • Updated distro-info-data from version 0.52ubuntu0.11 to 0.52ubuntu0.12
  • Updated libavahi-client3 from version 0.8-5ubuntu5.4 to 0.8-5ubuntu5.5
  • Updated libavahi-common-data from version 0.8-5ubuntu5.4 to 0.8-5ubuntu5.5
  • Updated libavahi-common3 from version 0.8-5ubuntu5.4 to 0.8-5ubuntu5.5
  • Updated libopenjp2-7 from version 2.4.0-6ubuntu0.4 to 2.4.0-6ubuntu0.5
  • Updated libpng16-16 from version 1.6.37-3ubuntu0.4 to 1.6.37-3ubuntu0.5
  • Updated libpq5 from version 18.3-1.pgdg22.04+1 to 18.4-1.pgdg22.04+1
  • Updated linux-libc-dev from version 5.15.0-177.187 to 5.15.0-179.189
  • Updated postgresql-client-common from version 290.pgdg22.04+1 to 291.pgdg22.04+1
  • Added postgresql-client-18 version 18.4-1.pgdg22.04+1

Updates to packages available at build time only

  • Updated libopenjp2-7-dev from version 2.4.0-6ubuntu0.4 to 2.4.0-6ubuntu0.5
  • Updated libpng-dev from version 1.6.37-3ubuntu0.4 to 1.6.37-3ubuntu0.5
  • Updated libpq-dev from version 18.3-1.pgdg22.04+1 to 18.4-1.pgdg22.04+1

Stack: heroku-24

  • Removed postgresql-client-17
  • Updated dpkg from version 1.22.6ubuntu6.5 to 1.22.6ubuntu6.6
  • Updated libavahi-client3 from version 0.8-13ubuntu6.1 to 0.8-13ubuntu6.2
  • Updated libavahi-common-data from version 0.8-13ubuntu6.1 to 0.8-13ubuntu6.2
  • Updated libavahi-common3 from version 0.8-13ubuntu6.1 to 0.8-13ubuntu6.2
  • Updated libheif-plugin-aomdec from version 1.17.6-1ubuntu4.2 to 1.17.6-1ubuntu4.3
  • Updated libheif-plugin-libde265 from version 1.17.6-1ubuntu4.2 to 1.17.6-1ubuntu4.3
  • Updated libheif1 from version 1.17.6-1ubuntu4.2 to 1.17.6-1ubuntu4.3
  • Updated libopenjp2-7 from version 2.5.0-2ubuntu0.4 to 2.5.0-2ubuntu0.5
  • Updated libpng16-16t64 from version 1.6.43-5ubuntu0.5 to 1.6.43-5ubuntu0.6
  • Updated libpq5 from version 18.3-1.pgdg24.04+1 to 18.4-1.pgdg24.04+1
  • Updated postgresql-client-common from version 290.pgdg24.04+1 to 291.pgdg24.04+1
  • Added postgresql-client-18 version 18.4-1.pgdg24.04+1

Updates to packages available at build time only

  • Updated dpkg-dev from version 1.22.6ubuntu6.5 to 1.22.6ubuntu6.6
  • Updated libdpkg-perl from version 1.22.6ubuntu6.5 to 1.22.6ubuntu6.6
  • Updated libheif-dev from version 1.17.6-1ubuntu4.2 to 1.17.6-1ubuntu4.3
  • Updated libopenjp2-7-dev from version 2.5.0-2ubuntu0.4 to 2.5.0-2ubuntu0.5
  • Updated libpng-dev from version 1.6.43-5ubuntu0.5 to 1.6.43-5ubuntu0.6
  • Updated libpq-dev from version 18.3-1.pgdg24.04+1 to 18.4-1.pgdg24.04+1
  • Updated linux-libc-dev from version 6.8.0-111.111 to 6.8.0-117.117