CVE-2026-40942: Java Rsa Key Length Uncheckedcve-2026-40942-java-rsa-key-length-unchecked
Constructing an RSA public key spec without verifying the key length allows the use of weakly-sized RSA keys, which can be trivially factored by attackers to forge signatures or decrypt sensitive data. Ensure the modulus bit length is checked (e.g., >= 2048) before key creation.