Skip to main content
VulnerabilityPublished

CVE-2026-74871: openssl-encrypt sequential XOR cancels the last key-derivation stage

Affects openssl_encryptSource GCVE Database

0
Compare
Authoritative record:CVE-2026-74871· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.4.8 when convenient.

Data as of 3 Dec 2026, 23:19 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.4.8
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade openssl_encrypt to 1.4.8.

Affected software

ProductAffectedFixed in
PyPIopenssl_encryptAffected
  • <1.4.8
Fixed in
  • 1.4.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in openssl-encrypt version 1.4.8 and later, which introduces format version 13 that corrects the key derivation process. Users should re-encrypt any files created with the vulnerable configuration (sequential XOR mode, format_version 8 or 10, single KDF, no prior hashing) using a patched version to upgrade to the secure format. Files encrypted with default configurations or other modes are not affected and require no action. Identification of affected files can be done using 'openssl-encrypt info -i <file>.enc' to check for xor_mode sequential with format_version 8 or 10 and the vulnerable KDF setup.

Description

CVE-2026-74871 is a vulnerability in the openssl-encrypt tool's sequential XOR composition mode (format versions 8 and 10) where the last stage of key derivation cancels out. This flaw only affects files encrypted with a non-default configuration using a single key derivation function (KDF) and no prior hashing stage, causing the key derivation to collapse to a simple SHA256(password‖salt). Default configurations with multiple chained KDFs and hashing are not affected. The vulnerability reduces the computational cost of offline password guessing attacks for affected files. It was fixed in version 1.4.8 by introducing format version 13, which removes the redundant final append and ensures all stages contribute to the key.

References

Community reviews

Loading reviews…