JDK 25 Security Enhancements

23 Sep 2025

JDK 25 was released on September 16, 2025! As with my previous blogs, I have compiled a list of what I think are the most interesting and useful security enhancements in this release. I have also grouped them into appropriate categories (crypto, TLS, etc) which should make it easier to find out what has changed in each specific area. The JDK 25 release notes also contain further details on these and other enhancements.

Highlights of this release include a final version of the Key Derivation Function API and a new preview API for encoding and decoding cryptographic objects to/from PEM.

Table of Contents

  1. Crypto
  2. TLS
  3. Performance Improvements
  4. Security Manager
  5. Miscellaneous

Crypto

TLS

Performance Improvements

Several performance improvements have been made to the crypto and TLS implementations:

Security Manager

Miscellaneous