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

Change effective on 23 April 2025

We 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 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.

The Heroku-20 stack is deprecated and will reach end-of-life on April 30th, 2025. 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 binutils from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated binutils-aarch64-linux-gnu/binutils-x86-64-linux-gnu from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated binutils-common from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated imagemagick from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated imagemagick-6-common from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated imagemagick-6.q16 from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libbinutils from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated libctf-nobfd0 from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated libctf0 from version 2.34-6ubuntu1.10 to 2.34-6ubuntu1.11
  • Updated libmagickcore-6.q16-6 from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickcore-6.q16-6-extra from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickwand-6.q16-6 from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libpoppler-glib8 from version 0.86.1-0ubuntu1.5 to 0.86.1-0ubuntu1.6
  • Updated libpoppler97 from version 0.86.1-0ubuntu1.5 to 0.86.1-0ubuntu1.6
  • Updated linux-libc-dev from version 5.4.0-212.232 to 5.4.0-214.234
  • Updated poppler-utils from version 0.86.1-0ubuntu1.5 to 0.86.1-0ubuntu1.6
  • Updated postgresql-client-common from version 274.pgdg20.04+1 to 277.pgdg20.04+1

Updates to packages available at build time only

  • Updated libmagickcore-6-arch-config from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickcore-6-headers from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickcore-6.q16-dev from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickwand-6-headers from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickwand-6.q16-dev from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libmagickwand-dev from version 8:6.9.10.23+dfsg-2.1ubuntu11.10 to 8:6.9.10.23+dfsg-2.1ubuntu11.11
  • Updated libunbound8 from version 1.9.4-2ubuntu1.9 to 1.9.4-2ubuntu1.11
  • Updated postgresql-common from version 274.pgdg20.04+1 to 277.pgdg20.04+1
  • Updated postgresql-common-dev from version 274.pgdg20.04+1 to 277.pgdg20.04+1

Stack: heroku-22

  • Updated binutils from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated binutils-aarch64-linux-gnu/binutils-x86-64-linux-gnu from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated binutils-common from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated libbinutils from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated libctf-nobfd0 from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated libctf0 from version 2.38-4ubuntu2.7 to 2.38-4ubuntu2.8
  • Updated libexpat1 from version 2.4.7-1ubuntu0.5 to 2.4.7-1ubuntu0.6
  • Updated libperl5.34 from version 5.34.0-3ubuntu1.3 to 5.34.0-3ubuntu1.4
  • Updated libpoppler-glib8 from version 22.02.0-2ubuntu0.6 to 22.02.0-2ubuntu0.7
  • Updated libpoppler118 from version 22.02.0-2ubuntu0.6 to 22.02.0-2ubuntu0.7
  • Updated linux-libc-dev from version 5.15.0-136.147 to 5.15.0-138.148
  • Updated perl from version 5.34.0-3ubuntu1.3 to 5.34.0-3ubuntu1.4
  • Updated perl-base from version 5.34.0-3ubuntu1.3 to 5.34.0-3ubuntu1.4
  • Updated perl-modules-5.34 from version 5.34.0-3ubuntu1.3 to 5.34.0-3ubuntu1.4
  • Updated poppler-utils from version 22.02.0-2ubuntu0.6 to 22.02.0-2ubuntu0.7
  • Updated postgresql-client-common from version 274.pgdg22.04+1 to 277.pgdg22.04+1

Updates to packages available at build time only

  • Updated libexpat1-dev from version 2.4.7-1ubuntu0.5 to 2.4.7-1ubuntu0.6
  • Updated libunbound8 from version 1.13.1-1ubuntu5.8 to 1.13.1-1ubuntu5.10

Stack: heroku-24

  • Updated binutils from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated binutils-aarch64-linux-gnu/binutils-x86-64-linux-gnu from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated binutils-common from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated libbinutils from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated libctf-nobfd0 from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated libctf0 from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated libexpat1 from version 2.6.1-2ubuntu0.2 to 2.6.1-2ubuntu0.3
  • Updated libgprofng0 from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated libperl5.38t64 from version 5.38.2-3.2build2.1 to 5.38.2-3.2ubuntu0.1
  • Updated libpoppler-glib8t64 from version 24.02.0-1ubuntu9.2 to 24.02.0-1ubuntu9.3
  • Updated libpoppler134 from version 24.02.0-1ubuntu9.2 to 24.02.0-1ubuntu9.3
  • Updated libsframe1 from version 2.42-4ubuntu2.4 to 2.42-4ubuntu2.5
  • Updated perl from version 5.38.2-3.2build2.1 to 5.38.2-3.2ubuntu0.1
  • Updated perl-base from version 5.38.2-3.2build2.1 to 5.38.2-3.2ubuntu0.1
  • Updated perl-modules-5.38 from version 5.38.2-3.2build2.1 to 5.38.2-3.2ubuntu0.1
  • Updated poppler-utils from version 24.02.0-1ubuntu9.2 to 24.02.0-1ubuntu9.3
  • Updated postgresql-client-common from version 274.pgdg24.04+1 to 277.pgdg24.04+1

Updates to packages available at build time only

  • Updated libexpat1-dev from version 2.6.1-2ubuntu0.2 to 2.6.1-2ubuntu0.3
  • Updated linux-libc-dev from version 6.8.0-57.59 to 6.8.0-58.60