Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-74887

Опубликовано: 17 авг. 2026
Источник: nvd
CVSS3: 3.7
CVSS3: 5.9
EPSS Низкий

Описание

openssl_encrypt before 1.4.0 imports Python's non-cryptographic 'random' module (Mersenne Twister PRNG) at line 15 of openssl_encrypt/modules/pqc.py. No direct calls to random.* were present in the code, so no cryptographic operation is currently affected; however, the import creates a hazard that future code could inadvertently use random.randint() instead of a cryptographically secure alternative (secrets/os.urandom), producing predictable values since the Mersenne Twister state can be recovered from approximately 624 outputs. Fixed by removing the import in 1.4.0.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*
Версия до 1.4.0 (исключая)

EPSS

Процентиль: 8%
0.00182
Низкий

3.7 Low

CVSS3

5.9 Medium

CVSS3

Дефекты

CWE-338

Связанные уязвимости

github
около 1 месяца назад

openssl_encrypt before 1.4.0 imports Python's non-cryptographic 'random' module (Mersenne Twister PRNG) at line 15 of openssl_encrypt/modules/pqc.py. No direct calls to random.* were present in the code, so no cryptographic operation is currently affected; however, the import creates a hazard that future code could inadvertently use random.randint() instead of a cryptographically secure alternative (secrets/os.urandom), producing predictable values since the Mersenne Twister state can be recovered from approximately 624 outputs. Fixed by removing the import in 1.4.0.

EPSS

Процентиль: 8%
0.00182
Низкий

3.7 Low

CVSS3

5.9 Medium

CVSS3

Дефекты

CWE-338