JDK-8207775 : Better management of CipherCore buffers
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 8u172
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-07-18
  • Updated: 2019-03-19
  • Resolved: 2018-08-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 8 Other
11.0.2Fixed 8u181Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
The com.sun.crypto.provider.CipherCore class allocates temporary internal buffers for internal functionality. Some users are requesting that these buffers be cleared after use.
Removing JDK 11u fix request until JDK-8209862 is fully assessed.

Performance issues reported via JDK-8209862

Fix Request A useful fix to have in JDK 11 LTS. The JDK libraries should make best efforts to protect contents of crypto buffers and keystores. The patch involves tighening up crypto code so that buffer contents are deleted as soon as is practical. A test case for these fixes is not practical but I'd be happy to describe how to manually verify with SQE teams. Patches should apply cleanly.