Heroku-20, Heroku-22 and Heroku-24 stacks updated

Change effective on 19 November 2024

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

If you are using Heroku’s default buildpack-powered build system/stacks you do not need to redeploy your app to pick up these changes, since your application’s slug is applied on top of the most recent base image for the stack each time a dyno starts. Currently running dynos will be automatically restarted, so there is no need to manually restart your app.

If your app instead uses Heroku’s container stack (most apps do not), you will need to rebuild your app’s Docker image in order to pick up any 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.

The Heroku-20 stack is deprecated and will reach end-of-life on April 30th, 2025. Please upgrade to a newer stack as soon as possible. See the Heroku-20 End-Of-Life FAQ for more details.

Changelog of packages

Stack: heroku-20

  • Updated ghostscript from version 9.50~dfsg-5ubuntu4.13 to 9.50~dfsg-5ubuntu4.14
  • Updated libgd3 from version 2.2.5-5.2ubuntu2.1 to 2.2.5-5.2ubuntu2.4
  • Updated libgs9 from version 9.50~dfsg-5ubuntu4.13 to 9.50~dfsg-5ubuntu4.14
  • Updated libgs9-common from version 9.50~dfsg-5ubuntu4.13 to 9.50~dfsg-5ubuntu4.14
  • Updated libmysqlclient21 from version 8.0.39-0ubuntu0.20.04.1 to 8.0.40-0ubuntu0.20.04.1
  • Updated libpq5 from version 17.0-1.pgdg20.04+1 to 17.1-1.pgdg20.04+1
  • Updated postgresql-client-16 from version 16.4-1.pgdg20.04+2 to 16.5-1.pgdg20.04+1
  • Updated postgresql-client-common from version 264.pgdg20.04+1 to 266.pgdg20.04+1
  • Added libio-pty-perl version 1:1.12-1
  • Added libipc-run-perl version 20180523.0-2

Updates to packages available at build time only

  • Updated libgd-dev from version 2.2.5-5.2ubuntu2.1 to 2.2.5-5.2ubuntu2.4
  • Updated libgs-dev from version 9.50~dfsg-5ubuntu4.13 to 9.50~dfsg-5ubuntu4.14
  • Updated libmysqlclient-dev from version 8.0.39-0ubuntu0.20.04.1 to 8.0.40-0ubuntu0.20.04.1
  • Updated libpq-dev from version 17.0-1.pgdg20.04+1 to 17.1-1.pgdg20.04+1
  • Updated postgresql-common from version 264.pgdg20.04+1 to 266.pgdg20.04+1
  • Updated postgresql-server-dev-16 from version 16.4-1.pgdg20.04+2 to 16.5-1.pgdg20.04+1

Stack: heroku-22

  • Updated curl from version 7.81.0-1ubuntu1.18 to 7.81.0-1ubuntu1.19
  • Updated ghostscript from version 9.55.0~dfsg1-0ubuntu5.9 to 9.55.0~dfsg1-0ubuntu5.10
  • Updated libcurl3-gnutls from version 7.81.0-1ubuntu1.18 to 7.81.0-1ubuntu1.19
  • Updated libcurl4 from version 7.81.0-1ubuntu1.18 to 7.81.0-1ubuntu1.19
  • Updated libgd3 from version 2.3.0-2ubuntu2 to 2.3.0-2ubuntu2.3
  • Updated libgs9 from version 9.55.0~dfsg1-0ubuntu5.9 to 9.55.0~dfsg1-0ubuntu5.10
  • Updated libgs9-common from version 9.55.0~dfsg1-0ubuntu5.9 to 9.55.0~dfsg1-0ubuntu5.10
  • Updated libmysqlclient21 from version 8.0.39-0ubuntu0.22.04.1 to 8.0.40-0ubuntu0.22.04.1
  • Updated libpq5 from version 17.0-1.pgdg22.04+1 to 17.1-1.pgdg22.04+1
  • Updated linux-libc-dev from version 5.15.0-124.134 to 5.15.0-125.135
  • Updated postgresql-client-16 from version 16.4-1.pgdg22.04+2 to 16.5-1.pgdg22.04+1
  • Updated postgresql-client-common from version 264.pgdg22.04+1 to 266.pgdg22.04+1
  • Added libio-pty-perl version 1:1.15-2build2
  • Added libipc-run-perl version 20200505.0-1

Updates to packages available at build time only

  • Updated libcurl4-openssl-dev from version 7.81.0-1ubuntu1.18 to 7.81.0-1ubuntu1.19
  • Updated libgd-dev from version 2.3.0-2ubuntu2 to 2.3.0-2ubuntu2.3
  • Updated libgs-dev from version 9.55.0~dfsg1-0ubuntu5.9 to 9.55.0~dfsg1-0ubuntu5.10
  • Updated libmysqlclient-dev from version 8.0.39-0ubuntu0.22.04.1 to 8.0.40-0ubuntu0.22.04.1
  • Updated libpq-dev from version 17.0-1.pgdg22.04+1 to 17.1-1.pgdg22.04+1

Stack: heroku-24

  • Updated curl from version 8.5.0-2ubuntu10.4 to 8.5.0-2ubuntu10.5
  • Updated ghostscript from version 10.02.1~dfsg1-0ubuntu7.3 to 10.02.1~dfsg1-0ubuntu7.4
  • Updated libacl1 from version 2.3.2-1build1 to 2.3.2-1build1.1
  • Updated libaudit-common from version 1:3.1.2-2.1build1 to 1:3.1.2-2.1build1.1
  • Updated libaudit1 from version 1:3.1.2-2.1build1 to 1:3.1.2-2.1build1.1
  • Updated libcurl3t64-gnutls from version 8.5.0-2ubuntu10.4 to 8.5.0-2ubuntu10.5
  • Updated libcurl4t64 from version 8.5.0-2ubuntu10.4 to 8.5.0-2ubuntu10.5
  • Updated libgs-common from version 10.02.1~dfsg1-0ubuntu7.3 to 10.02.1~dfsg1-0ubuntu7.4
  • Updated libgs10 from version 10.02.1~dfsg1-0ubuntu7.3 to 10.02.1~dfsg1-0ubuntu7.4
  • Updated libgs10-common from version 10.02.1~dfsg1-0ubuntu7.3 to 10.02.1~dfsg1-0ubuntu7.4
  • Updated libgssapi-krb5-2 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libk5crypto3 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkrb5-3 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkrb5support0 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libldap2 from version 2.6.7+dfsg-1~exp1ubuntu8 to 2.6.7+dfsg-1~exp1ubuntu8.1
  • Updated libmysqlclient21 from version 8.0.39-0ubuntu0.24.04.2 to 8.0.40-0ubuntu0.24.04.1
  • Updated libpq5 from version 17.0-1.pgdg24.04+1 to 17.1-1.pgdg24.04+1
  • Updated postgresql-client-16 from version 16.4-1.pgdg24.04+2 to 16.5-1.pgdg24.04+1
  • Updated postgresql-client-common from version 264.pgdg24.04+1 to 266.pgdg24.04+1
  • Added libio-pty-perl version 1:1.20-1build2
  • Added libipc-run-perl version 20231003.0-1

Updates to packages available at build time only

  • Updated krb5-multidev from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libcurl4-openssl-dev from version 8.5.0-2ubuntu10.4 to 8.5.0-2ubuntu10.5
  • Updated libgssrpc4t64 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkadm5clnt-mit12 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkadm5srv-mit12 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkdb5-10t64 from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libkrb5-dev from version 1.20.1-6ubuntu2.1 to 1.20.1-6ubuntu2.2
  • Updated libldap-dev from version 2.6.7+dfsg-1~exp1ubuntu8 to 2.6.7+dfsg-1~exp1ubuntu8.1
  • Updated libmysqlclient-dev from version 8.0.39-0ubuntu0.24.04.2 to 8.0.40-0ubuntu0.24.04.1
  • Updated libpq-dev from version 17.0-1.pgdg24.04+1 to 17.1-1.pgdg24.04+1