OpenJDK 27.0.1.1, 25.0.5.1, 21.0.13.1, 17.0.21.1, 11.0.33.1, and 1.8.0_514 now available (CVE-2026-114938)

Change effective on 18 November 2026

Heroku’s support for Java, Scala, Clojure, and Groovy now uses the following default versions for each supported major version:

  • Java 8 is now 1.8.0_514
  • Java 11 is now 11.0.33.1
  • Java 17 is now 17.0.21.1
  • Java 21 is now 21.0.13.1
  • Java 25 is now 25.0.5.1
  • Java 27 is now 27.0.1.1

These releases fix CVE-2026-114938. Existing apps don’t receive the fix until they’re rebuilt. To get the fix, you must:

  1. Check system.properties in your app. If java.runtime.version is pinned to a full version, such as 25.0.4.1, change it to the major version only, such as 25. See Specifying a Java Version for details.
  2. Deploy your app to trigger a new build. Restarting dynos or changing config vars doesn’t install a new OpenJDK version. If you have no code changes to deploy, push an empty commit with git commit --allow-empty -m "Rebuild".

Apps that specify only a major version get OpenJDK security updates automatically on every build. We strongly recommend against pinning to a full version.

Please visit the Dev Center for more information on Java version support.