Heroku-22 and Heroku-24 stacks updated

Change effective on 27 May 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 libglib2.0-0 from version 2.72.4-0ubuntu2.4 to 2.72.4-0ubuntu2.5
  • Updated libldap-2.5-0 from version 2.5.18+dfsg-0ubuntu0.22.04.3 to 2.5.19+dfsg-0ubuntu0.22.04.1
  • Updated libmysqlclient21 from version 8.0.41-0ubuntu0.22.04.1 to 8.0.42-0ubuntu0.22.04.1
  • Updated libpq5 from version 17.4-1.pgdg22.04+2 to 17.5-1.pgdg22.04+1
  • Updated libsqlite3-0 from version 3.37.2-2ubuntu0.3 to 3.37.2-2ubuntu0.4
  • Updated linux-libc-dev from version 5.15.0-139.149 to 5.15.0-140.150
  • Updated postgresql-client-17 from version 17.4-1.pgdg22.04+2 to 17.5-1.pgdg22.04+1
  • Updated postgresql-client-common from version 277.pgdg22.04+1 to 278.pgdg22.04+1

Updates to packages available at build time only

  • Updated libglib2.0-bin from version 2.72.4-0ubuntu2.4 to 2.72.4-0ubuntu2.5
  • Updated libglib2.0-data from version 2.72.4-0ubuntu2.4 to 2.72.4-0ubuntu2.5
  • Updated libglib2.0-dev from version 2.72.4-0ubuntu2.4 to 2.72.4-0ubuntu2.5
  • Updated libglib2.0-dev-bin from version 2.72.4-0ubuntu2.4 to 2.72.4-0ubuntu2.5
  • Updated libldap-dev from version 2.5.18+dfsg-0ubuntu0.22.04.3 to 2.5.19+dfsg-0ubuntu0.22.04.1
  • Updated libldap2-dev from version 2.5.18+dfsg-0ubuntu0.22.04.3 to 2.5.19+dfsg-0ubuntu0.22.04.1
  • Updated libmysqlclient-dev from version 8.0.41-0ubuntu0.22.04.1 to 8.0.42-0ubuntu0.22.04.1
  • Updated libpq-dev from version 17.4-1.pgdg22.04+2 to 17.5-1.pgdg22.04+1

Stack: heroku-24

  • Updated gir1.2-glib-2.0 from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libglib2.0-0t64 from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libmysqlclient21 from version 8.0.41-0ubuntu0.24.04.1 to 8.0.42-0ubuntu0.24.04.1
  • Updated libpq5 from version 17.4-1.pgdg24.04+2 to 17.5-1.pgdg24.04+1
  • Updated libraw23t64 from version 0.21.2-2.1build1 to 0.21.2-2.1ubuntu0.24.04.1
  • Updated libsqlite3-0 from version 3.45.1-1ubuntu2.1 to 3.45.1-1ubuntu2.3
  • Updated postgresql-client-17 from version 17.4-1.pgdg24.04+2 to 17.5-1.pgdg24.04+1
  • Updated postgresql-client-common from version 277.pgdg24.04+1 to 278.pgdg24.04+1

Updates to packages available at build time only

  • Updated gir1.2-glib-2.0-dev from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libgirepository-2.0-0 from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libglib2.0-bin from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libglib2.0-data from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libglib2.0-dev from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libglib2.0-dev-bin from version 2.80.0-6ubuntu3.2 to 2.80.0-6ubuntu3.4
  • Updated libmysqlclient-dev from version 8.0.41-0ubuntu0.24.04.1 to 8.0.42-0ubuntu0.24.04.1
  • Updated libpq-dev from version 17.4-1.pgdg24.04+2 to 17.5-1.pgdg24.04+1
  • Updated linux-libc-dev from version 6.8.0-59.61 to 6.8.0-60.63