Heroku-22 and Heroku-24 stacks updated

Change effective on 18 November 2025

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

  • Updated libpoppler-glib8 from version 22.02.0-2ubuntu0.11 to 22.02.0-2ubuntu0.12
  • Updated libpoppler118 from version 22.02.0-2ubuntu0.11 to 22.02.0-2ubuntu0.12
  • Updated libpq5 from version 18.0-1.pgdg22.04+3 to 18.1-1.pgdg22.04+2
  • Updated poppler-utils from version 22.02.0-2ubuntu0.11 to 22.02.0-2ubuntu0.12
  • Updated postgresql-client-17 from version 17.6-2.pgdg22.04+1 to 17.7-3.pgdg22.04+1
  • Updated postgresql-client-common from version 285.pgdg22.04+1 to 287.pgdg22.04+1

Updates to packages available at build time only

  • Updated libpq-dev from version 18.0-1.pgdg22.04+3 to 18.1-1.pgdg22.04+2
  • Updated libunbound8 from version 1.13.1-1ubuntu5.12 to 1.13.1-1ubuntu5.13

Stack: heroku-24

  • Updated libpoppler-glib8t64 from version 24.02.0-1ubuntu9.7 to 24.02.0-1ubuntu9.8
  • Updated libpoppler134 from version 24.02.0-1ubuntu9.7 to 24.02.0-1ubuntu9.8
  • Updated libpq5 from version 18.0-1.pgdg24.04+3 to 18.1-1.pgdg24.04+2
  • Updated poppler-utils from version 24.02.0-1ubuntu9.7 to 24.02.0-1ubuntu9.8
  • Updated postgresql-client-17 from version 17.6-2.pgdg24.04+1 to 17.7-3.pgdg24.04+1
  • Updated postgresql-client-common from version 285.pgdg24.04+1 to 287.pgdg24.04+1

Updates to packages available at build time only

  • Updated libpq-dev from version 18.0-1.pgdg24.04+3 to 18.1-1.pgdg24.04+2
  • Updated libpython3-stdlib from version 3.12.3-0ubuntu2 to 3.12.3-0ubuntu2.1
  • Updated libunbound8 from version 1.19.2-1ubuntu3.5 to 1.19.2-1ubuntu3.6
  • Updated python3 from version 3.12.3-0ubuntu2 to 3.12.3-0ubuntu2.1
  • Updated python3-minimal from version 3.12.3-0ubuntu2 to 3.12.3-0ubuntu2.1