← Vulnerabilities

MediumAdvisoryPythonOpenSSL

openssl-encrypt sequential XOR cancels the last key-derivation stage

Affected

PackageAffected versionsFixed in
pip:openssl_encrypt< 1.4.81.4.8

Files encrypted in sequential XOR composition mode (--xor / --use-xor-composition, on-disk format_version 8 or 10) derive a key in which the last stage cancels out. The weakness is only security-relevant for a specific, non-default configuration (see Exploitability below). In that case the key derivation collapses to a single cheap SHA256(password ‖ salt), completely bypassing the configured memory-hard KDF (e.g. Argon2) and allowing offline password guessing at plain-SHA256 speed. Exploitabili…

Read on GitHub Advisory Database

On 12/04/2026, 07:52 AM, GitHub Advisory Database published "openssl-encrypt sequential XOR cancels the last key-derivation stage" (type: Advisory). Severity is "Medium" (medium). Related technologies: Python, OpenSSL. CVE: CVE-2026-74871.