Advisory

PYSEC-2026-3976

Also known as: CVE-2026-74871, GHSA-vxf9-vwp6-2w43

Summary

The record has no summary.

Details

openssl_encrypt versions before 1.4.6 contain a key derivation flaw in sequential XOR composition mode where the last stage cancels out during key generation. When configured with a single KDF and no prior hashing stage, attackers can bypass memory-hard key derivation and perform offline password cracking at SHA-256 speed instead of the configured KDF cost.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

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

Affected packages and fixes

openssl-encrypt

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.6 (ecosystem)

Fixed versions

1.4.6

Fix

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

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