Skip to content

CVE-2026-74900 openssl_encrypt before 1.4.0 Weak Shared Secret via PQC Simulation Mode

CriticalCVSS 9.3 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

openssl_encrypt versions before 1.4.0 contain a critical vulnerability in pqc.py where KEM decapsulation failures silently fall back to simulation mode, generating a deterministic shared secret from only 16 bytes of the private key and publicly available encapsulated key data. Attackers who obtain 16 bytes of the private key can compute the shared secret and decrypt all ciphertext, as the fallback triggers on any KEM failure without raising an error.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
jahlives openssl encrypt < 1.4.0 1.4.0 Fixed
pypi openssl-encrypt < 1.4.0 1.4.0 Fixed
pypi openssl-encrypt(PyPI) < 1.4.0; = 0.2.2; = 0.2.3; = 0.2.4 +41 more 1.4.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi openssl-encrypt < 1.4.0 1.4.0
pypi openssl-encrypt(PyPI) < 1.4.0 1.4.0
pypi openssl-encrypt(PyPI) = 0.2.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.4 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.5 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.6 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.4 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.6.0rc1 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.0rc2 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.8.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.8.1 No fix listed
Show 22 more
ProductAffected versionsFixed in
pypi openssl-encrypt(PyPI) = 0.8.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.9.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.3 No fix listed
pypi openssl-encrypt(PyPI) = 1.1.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.2.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.2.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.3 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.4 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.5 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b3 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b4 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b5 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b6 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b7 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b8 No fix listed
jahlives openssl encrypt < 1.4.0 1.4.0

References