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

Change effective on 30 June 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 libmysqlclient21 from version 8.0.46-0ubuntu0.22.04.2 to 8.0.46-0ubuntu0.22.04.3
  • Updated libnss3 from version 2:3.98-0ubuntu0.22.04.3 to 2:3.98-0ubuntu0.22.04.4
  • Updated libperl5.34 from version 5.34.0-3ubuntu1.5 to 5.34.0-3ubuntu1.7
  • Updated libsqlite3-0 from version 3.37.2-2ubuntu0.5 to 3.37.2-2ubuntu0.6
  • Updated libxml2 from version 2.9.13+dfsg-1ubuntu0.11 to 2.9.13+dfsg-1ubuntu0.12
  • Updated linux-libc-dev from version 5.15.0-181.191 to 5.15.0-185.195
  • Updated perl from version 5.34.0-3ubuntu1.5 to 5.34.0-3ubuntu1.7
  • Updated perl-base from version 5.34.0-3ubuntu1.5 to 5.34.0-3ubuntu1.7
  • Updated perl-modules-5.34 from version 5.34.0-3ubuntu1.5 to 5.34.0-3ubuntu1.7
  • Updated tar from version 1.34+dfsg-1ubuntu0.1.22.04.2 to 1.34+dfsg-1ubuntu0.1.22.04.3

Updates to packages available at build time only

  • Updated libmysqlclient-dev from version 8.0.46-0ubuntu0.22.04.2 to 8.0.46-0ubuntu0.22.04.3
  • Updated libxml2-dev from version 2.9.13+dfsg-1ubuntu0.11 to 2.9.13+dfsg-1ubuntu0.12

Stack: heroku-24

  • Updated libheif-plugin-aomdec from version 1.17.6-1ubuntu4.3 to 1.17.6-1ubuntu4.4
  • Updated libheif-plugin-libde265 from version 1.17.6-1ubuntu4.3 to 1.17.6-1ubuntu4.4
  • Updated libheif1 from version 1.17.6-1ubuntu4.3 to 1.17.6-1ubuntu4.4
  • Updated libmysqlclient21 from version 8.0.46-0ubuntu0.24.04.2 to 8.0.46-0ubuntu0.24.04.3
  • Updated libnss3 from version 2:3.98-1ubuntu0.1 to 2:3.98-1ubuntu0.2
  • Updated libperl5.38t64 from version 5.38.2-3.2ubuntu0.2 to 5.38.2-3.2ubuntu0.3
  • Updated libsqlite3-0 from version 3.45.1-1ubuntu2.5 to 3.45.1-1ubuntu2.6
  • Updated libxml2 from version 2.9.14+dfsg-1.3ubuntu3.7 to 2.9.14+dfsg-1.3ubuntu3.8
  • Updated perl from version 5.38.2-3.2ubuntu0.2 to 5.38.2-3.2ubuntu0.3
  • Updated perl-base from version 5.38.2-3.2ubuntu0.2 to 5.38.2-3.2ubuntu0.3
  • Updated perl-modules-5.38 from version 5.38.2-3.2ubuntu0.2 to 5.38.2-3.2ubuntu0.3
  • Updated tar from version 1.35+dfsg-3build1 to 1.35+dfsg-3ubuntu0.1

Updates to packages available at build time only

  • Updated libheif-dev from version 1.17.6-1ubuntu4.3 to 1.17.6-1ubuntu4.4
  • Updated libmysqlclient-dev from version 8.0.46-0ubuntu0.24.04.2 to 8.0.46-0ubuntu0.24.04.3
  • Updated libxml2-dev from version 2.9.14+dfsg-1.3ubuntu3.7 to 2.9.14+dfsg-1.3ubuntu3.8

Stack: heroku-26

  • Updated libheif-plugin-aomdec from version 1.21.2-3 to 1.21.2-3ubuntu0.2
  • Updated libheif1 from version 1.21.2-3 to 1.21.2-3ubuntu0.2
  • Updated libmysqlclient24 from version 8.4.9-0ubuntu0.26.04.1 to 8.4.10-0ubuntu0.26.04.1
  • Updated libnss3 from version 2:3.120-1ubuntu2 to 2:3.120-1ubuntu2.1
  • Updated libperl5.40 from version 5.40.1-7build1 to 5.40.1-7ubuntu0.1
  • Updated libsqlite3-0 from version 3.46.1-9 to 3.46.1-9ubuntu0.1
  • Updated libxml2-16 from version 2.15.2+dfsg-0.1 to 2.15.2+dfsg-0.1ubuntu0.1
  • Updated perl from version 5.40.1-7build1 to 5.40.1-7ubuntu0.1
  • Updated perl-base from version 5.40.1-7build1 to 5.40.1-7ubuntu0.1
  • Updated perl-modules-5.40 from version 5.40.1-7build1 to 5.40.1-7ubuntu0.1
  • Updated tar from version 1.35+dfsg-4 to 1.35+dfsg-4ubuntu0.1

Updates to packages available at build time only

  • Updated build-essential from version 12.12ubuntu2 to 12.12ubuntu2.26.04.1
  • Updated libheif-dev from version 1.21.2-3 to 1.21.2-3ubuntu0.2
  • Updated libmysqlclient-dev from version 8.4.9-0ubuntu0.26.04.1 to 8.4.10-0ubuntu0.26.04.1
  • Updated libxml2-dev from version 2.15.2+dfsg-0.1 to 2.15.2+dfsg-0.1ubuntu0.1
  • Updated linux-libc-dev from version 7.0.0-22.22 to 7.0.0-27.27