CVE-2026-81688
JSON

8.7high

openssl_encrypt before 1.4.9 Plaintext Confirmation Oracle via SHA-256

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
PYSEC-2026-3795GHSA-7c3q-gp4v-q29q

Description

openssl_encrypt versions before 1.4.9 store an unkeyed SHA-256 hash of the plaintext in the cleartext file header metadata. Attackers can read this hash without the password to confirm guessed plaintexts offline or fingerprint identical plaintexts across separately-encrypted files.

Affected

Product or packageVersionsReported by
jahlives openssl_encryptbefore 1.4.9
Not affected: 1.4.9
CVE List, NVD
openssl-encrypt (PyPI)before 1.4.9PyPA Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/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

Classification

CWE-311

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-81688 changed 2026-10-01CVE Terms of Use
NVDCVE-2026-81688 changed 2026-09-02Public domain
PyPA Advisory DatabasePYSEC-2026-3795 changed 2026-09-03CC-BY-4.0