PyPA Advisory Database
PYSEC-2026-3795
Details
openssl_encrypt versions before 1.4.9 store an unkeyed SHA-256 hash of the plaintext in the cleartext file header metadata. Attackers can read this hash without the password to confirm guessed plaintexts offline or fingerprint identical plaintexts across separately-encrypted files.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | openssl-encrypt | All versions before 1.4.9 (fixed in 1.4.9) |