CVE-2026-74871 — Openssl Encrypt — CWE-916
## Summary Files encrypted in **sequential XOR** composition mode (`--xor` / `--use-xor-composition`, on-disk `format_version` 8 or 10) derive a key in which the **last stage cancels out**. The weakness is only security-relevant for a **specific, non-default configuration** (see Exploitability below). In that case the key derivation collapses to a single cheap `SHA256(password ‖ salt)`, completely bypassing the configured memory-hard KDF (e.g. Argon2) and allowing offline password guessing at plain-SHA256 speed. ## Exploitability — preconditions (important) The flaw cancels **only the last stage** of the derivation. It is exploitable **only when BOTH** of the following hold: 1. **Exactly one KDF** is configured (e.g. Argon2 alone), **and** 2. **No prior hashing** stage precedes it. Only then does the cancellation remove the sole expensive stage, leaving just the initial `SHA256(pw‖salt)`. **Neither condition is the default — so default-configured files are NOT exploitable:** - The default uses **3 chained KDFs**, and **chained hash stages** are also on by default. - With multiple stages the cancellation drops only the *last* one; the surviving earlier KDF/hash snapshots remain XOR'd into the key, so the derivation stays memory-hard. The work factor is marginally reduced (one trailing stage removed), **not** bypassed. A file is therefore only at real risk if it was deliberately encrypted with a **single KDF and no preceding hash** — both departures from the s
## Summary Files encrypted in **sequential XOR** composition mode (`--xor` / `--use-xor-composition`, on-disk `format_version` 8 or 10) derive a key in which the **last stage cancels out**. The weakness is only security-relevant for a **specific, non-default configuration** (see Exploitability below). In that case the key derivation collapses to a single cheap `SHA256(password ‖ salt)`, completely bypassing the configured memory-hard KDF (e.g. Argon2) and allowing offline password guessing at plain-SHA256 speed. ## Exploitability — preconditions (important) The flaw cancels **only the last stage** of the derivation. It is exploitable **only when BOTH** of the following hold: 1. **Exactly one KDF** is configured (e.g. Argon2 alone), **and** 2. **No prior hashing** stage precedes it. Only then does the cancellation remove the sole expensive stage, leaving just the initial `SHA256(pw‖salt)`. **Neither condition is the default — so default-configured files are NOT exploitable:** - The default uses **3 chained KDFs**, and **chained hash stages** are also on by default. - With multiple stages the cancellation drops only the *last* one; the surviving earlier KDF/hash snapshots remain XOR'd into the key, so the derivation stays memory-hard. The work factor is marginally reduced (one trailing stage removed), **not** bypassed. A file is therefore only at real risk if it was deliberately encrypted with a **single KDF and no preceding hash** — both departures from the s
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-74871
CVSS 6.2/10 · MEDIUM · 03.12.2026
CWE: CWE-916
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary
Files encrypted in sequential XOR composition mode (--xor / --use-xor-composition, on-disk format_version 8 or 10) derive a key in which the last stage cancels out. The weakness is only security-relevant for a specific, non-default configuration (see Exploitability below). In that case the key derivation collapses to a single cheap SHA256(password ‖ salt), comp…
Affected: openssl_encrypt
⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable.
🛡️ REMEDIATION
→ Apply vendor security update for openssl_encrypt.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query