ADVISORIES

PyPA Advisory Database

PYSEC-2026-3773

Details

openssl_encrypt versions before 1.4.0 contain an authentication bypass vulnerability in pqc.py where AES-GCM decryption failures trigger fallback to unauthenticated AES-CTR mode. Attackers can modify ciphertext in transit to bypass integrity verification and perform bit-flipping attacks without detection.

Affected packages

EcosystemPackageAffected versions
PyPIopenssl-encrypt
All versions before 1.4.0 (fixed in 1.4.0)

References