VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ56745

⇱ IJ56745: AES-ECB MODE NOW THROWS EXCEPTION ON IV USE BASED ON SYSTEM PROPERTY


IJ56745: AES-ECB MODE NOW THROWS EXCEPTION ON IV USE BASED ON SYSTEM PROPERTY

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • When an IV was specified in AES/ECB mode, the system did not
    throw an exception, even though the JavaDoc indicated it should.
    This update introduces a configurable property to explicitly
    control this behavior, ensuring better alignment with expected
    cryptographic standards and documentation.
    

Problem conclusion

  • A new system property, com.ibm.jce.ignoreIV, has been introduced
    for handling of Initialization Vectors (IV) when the AES
    algorithm is used in ECB mode. This property supports the
    following values:
    true: The IV will be silently ignored, and no exception will be
    thrown. This maintains the behaviour seen in earlier
    implementations.
    false (default): The implementation throws an
    InvalidAlgorithmParameterException with the message "ECB mode
    cannot use IV" if an IV is passed.
    IBMJCE, IBMJCEPlus(140-2) and IBMJCEPlus(140-3) has been updated
    to fix the issue.
    A fix is made to: ibmjceprovider.jar, ibmjceplus.jar(140-2),
    ibmjceplus.jar(140-3)
    RTC Problem Report is : 153145
    GIT issue is: IBMJCE#333, IBMJCEPlus(140-2)#907 and
    IBMJCEPlus(140-3)#906
    JVMs affected: Java 8.0
    The fix was delivered for: Java 8 SR8 FP60
    The affected jars: ?ibmjceprovider.jar?,
    "ibmjceplus.jar"(140-2), "ibmjceplus.jar"(140-3)
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
    IBM SDK, Java Technology Edition
     8 SR8 FP60 (8.0.8.60)
    .
    Downloads and supplementary documentation can be found at the
    following locations:
    - For non z/OS operating systems:
     - IBM Semeru Runtimes, Version 11 and later
     https://www.ibm.com/semeru-runtimes/downloads/
     - IBM SDK, Java Technology Edition, Version 8
     https://www.ibm.com/support/pages/java-sdk-downloads/
    - For the z/OS operating system:
     - Java SDK Products on z/OS
     https://www.ibm.com/support/pages/java-sdk-products-zos
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IJ56745

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-11-12

  • Closed date

    2025-11-17

  • Last modified date

    2025-11-17

  • 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

    SECURITY

  • Fixed component ID

    620700125

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":"270","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 November 2025