CVE-2026-74871
MEDIUM 6.9CVSS 4.0openssl-encrypt sequential XOR cancels the last key-derivation stage
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.
- Published
- 17 Aug 2026
- Last modified
- 3 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-916
- Also known as
- GHSA-vxf9-vwp6-2w43PYSEC-2026-3976
- Sources
- NVDJSONOSV GHSA-vxf9-vwp6-2w43JSONOSV PYSEC-2026-3976JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jahlives | openssl_encryptcpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:* |
< 1.4.6 | 1.4.6 |
| OSV | PyPI | openssl-encrypt | < 1.4.8 | 1.4.8 |
| OSV | PyPI | openssl-encrypt | < 1.4.6 | 1.4.6 |
References
- https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vxf9-vwp6-2w43 · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://www.vulncheck.com/advisories/openssl-encrypt-before-kdf-bypass-via-sequential-xor · Third Party Advisory, WEB, ADVISORY
- https://github.com/jahlives/openssl_encrypt/commit/1c122790d6d914909514dbe026d051bc06c50844 · WEB
- https://github.com/jahlives/openssl_encrypt/commit/a7d2c9054f5b4374561c82665b24adfe3fad360c · WEB
- https://github.com/jahlives/openssl_encrypt/commit/e1b6731fae6ed9d6b17ecdc3b72edc3b364ee339 · WEB
- https://github.com/jahlives/openssl_encrypt · PACKAGE
- https://github.com/jahlives/openssl_encrypt/releases/tag/v1.4.8 · WEB
- https://github.com/pypa/advisory-database/blob/main/vulns/openssl-encrypt/PYSEC-2026-3976.yaml · WEB
- https://nvd.nist.gov/vuln/detail/cve-2026-74871 · ADVISORY
History
- 3 Dec 2026 23:56 UTC · OSV: first stored (published 3 Dec 2026)
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Aug 2026)