CVE-2026-81704: Openssl Encrypt Weak Kdf Flat Config

Unrecognized flat KDF configuration keys (such as 'argon2_time_cost' or 'sha512_iterations') are assigned to hash_config. In crypt_core, these flat keys are ignored while defeating default template fallbacks, collapsing password key derivation to single unstretched SHA-256 (CWE-916).

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-81704-openssl-encrypt-weak-kdf-flat-config --engine opengrep

Description

Unrecognized flat KDF configuration keys (such as 'argon2_time_cost' or 'sha512_iterations') are assigned to hash_config. In crypt_core, these flat keys are ignored while defeating default template fallbacks, collapsing password key derivation to single unstretched SHA-256 (CWE-916).