Advisory

PYSEC-2026-3772

Also known as: CVE-2026-74900, GHSA-p3gq-pcg9-qvfv

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-17 11:16 UTC
Modified
2026-09-02 09:00 UTC

Affected packages and fixes

openssl-encrypt

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.0 (ecosystem)

Fixed versions

1.4.0

Fix

  • Fixed version 1.4.0
    pip install --upgrade openssl-encrypt==1.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences