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

Change effective on 18 August 2026

We updated the heroku-22, heroku-24 and heroku-26 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-22 stack is deprecated and will reach end-of-life on April 30th, 2027. Upgrade to a newer stack as soon as possible. See the Heroku-22 End-Of-Life FAQ for more details.

Changelog of packages

Stack: heroku-22

  • Updated libpng16-16 from version 1.6.37-3ubuntu0.5 to 1.6.37-3ubuntu0.6
  • Updated libpq5 from version 18.4-1.pgdg22.04+1 to 18.6-1.pgdg22.04+2
  • Updated linux-libc-dev from version 5.15.0-187.197 to 5.15.0-190.200
  • Updated postgresql-client-18 from version 18.4-1.pgdg22.04+1 to 18.6-1.pgdg22.04+2

Updates to packages available at build time only

  • Updated libpng-dev from version 1.6.37-3ubuntu0.5 to 1.6.37-3ubuntu0.6
  • Updated libpq-dev from version 18.4-1.pgdg22.04+1 to 18.6-1.pgdg22.04+2

Stack: heroku-24

  • Updated libgssapi-krb5-2 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libk5crypto3 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkrb5-3 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkrb5support0 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libpq5 from version 18.4-1.pgdg24.04+1 to 18.6-1.pgdg24.04+2
  • Updated postgresql-client-18 from version 18.4-1.pgdg24.04+1 to 18.6-1.pgdg24.04+2

Updates to packages available at build time only

  • Updated krb5-multidev from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libgssrpc4t64 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkadm5clnt-mit12 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkadm5srv-mit12 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkdb5-10t64 from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libkrb5-dev from version 1.20.1-6ubuntu2.7 to 1.20.1-6ubuntu2.8
  • Updated libpq-dev from version 18.4-1.pgdg24.04+1 to 18.6-1.pgdg24.04+2
  • Updated linux-libc-dev from version 6.8.0-137.137 to 6.8.0-138.138

Stack: heroku-26

  • Updated libpq5 from version 18.4-1.pgdg26.04+1 to 18.6-1.pgdg26.04+2
  • Updated postgresql-client-18 from version 18.4-1.pgdg26.04+1 to 18.6-1.pgdg26.04+2
  • Added libde265-0 version 1.0.16-1build1
  • Added libheif-plugin-libde265 version 1.21.2-3ubuntu0.3

Updates to packages available at build time only

  • Updated libpq-dev from version 18.4-1.pgdg26.04+1 to 18.6-1.pgdg26.04+2
  • Updated linux-libc-dev from version 7.0.0-29.29 to 7.0.0-30.30