APAR status
Closed as program error.
Error description
Error Message: In WAS Liberty environment , the below mentioned ShortBufferException is seen during AES-GCM decryption . java.io.IOException: Unable to decrypt message at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext.read(SSLRe adServiceContext.java:326) ... Caused by: javax.net.ssl.SSLException: (internal_error) Fail to unwrap network record at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:1 32) ... Caused by: IBMJCEHybridException: Object state does not permit failover. . Stack Trace: javax.crypto.ShortBufferException: Output buffer must be (at least) 4096 bytes long Stack Trace: at ibm.crypto.hdwrcca/com.ibm.crypto.hdwrCCA.provider.AESCipher.eng ineUpdate(AESCipher.java:312) at java.base/javax.crypto.Cipher.update(Cipher.java:2054) at ibm.crypto.ibmjcehybrid/com.ibm.crypto.ibmjcehybrid.provider.Hyb ridCipher.update(HybridCipher.java:2182) at ibm.crypto.ibmjcehybrid/com.ibm.crypto.ibmjcehybrid.provider.Hyb ridCipher.engineUpdate(HybridCipher.java:2086) at java.base/javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:823) at java.base/javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:72 3) at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2584) at java.base/sun.security.ssl.SSLCipher$T12GcmReadCipherGenerator$G cmReadCipher.decrypt(SSLCipher.java:1638) at java.base/sun.security.ssl.SSLEngineInputRecord.decodeInputRecor d(SSLEngineInputRecord.java:239) at java.base/sun.security.ssl.SSLEngineInputRecord.decode(SSLEngine InputRecord.java:196) at java.base/sun.security.ssl.SSLEngineInputRecord.decode(SSLEngine InputRecord.java:159) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java :111) at java.base/sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.ja va:734) at java.base/sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImp l.java:689) at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.ja va:504) at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.ja va:480) at java.base/javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:713) . Only occurs after installing 25.0.3, 21.0.11 or 17.0.19.
Local fix
Problem summary
The introduction of clear key support for Cipher.update using AES/GCM/NoPadding introduced an error in the getOutputSize calculation.
Problem conclusion
The error in the getOutputSize() calculation is fixed. . This APAR will be fixed in the following Releases: . IBM Semeru Runtimes 25 25.0.5.0 21 21.0.13.0 17 17.0.21.0 11 11.0.33.0 . Downloads and supplementary documentation can be found at the following locations: - For the z/OS operating system: - Java SDK Products on z/OS https://www.ibm.com/support/pages/java-sdk-products-zos
Temporary fix
Comments
APAR Information
APAR number
PH73239
Reported component name
JAVA Z/OS 64
Reported component ID
620700104
Reported release
H00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2026-09-18
Closed date
2026-09-18
Last modified date
2026-09-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA Z/OS 64
Fixed component ID
620700104
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"H00","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
18 September 2026