# CVE-2026-74900: openssl_encrypt before 1.4.0 Weak Shared Secret via PQC Simulation Mode

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-08-17T11:04:59.255Z
- Modified: 2026-10-01T15:21:05.831Z
- Also known as: PYSEC-2026-3772, GHSA-p3gq-pcg9-qvfv
- Weaknesses: CWE-391
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

openssl_encrypt versions before 1.4.0 contain a critical vulnerability in pqc.py where KEM decapsulation failures silently fall back to simulation mode, generating a deterministic shared secret from only 16 bytes of the private key and publicly available encapsulated key data. Attackers who obtain 16 bytes of the private key can compute the shared secret and decrypt all ciphertext, as the fallback triggers on any KEM failure without raising an error.

(As written by CVE List.)

## Affected

- jahlives openssl_encrypt: before 1.4.0 (not affected: 1.4.0)
- openssl-encrypt (PyPI): before 1.4.0

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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`

## References

- <https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p3gq-pcg9-qvfv> (advisory, mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-shared-secret-via-pqc-simulation-mode> (advisory, third-party-advisory)

## Sources

- CVE List: [CVE-2026-74900](https://www.cve.org/CVERecord?id=CVE-2026-74900), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-74900](https://nvd.nist.gov/vuln/detail/CVE-2026-74900), Public domain, modified 2026-09-01
- PyPA Advisory Database: [PYSEC-2026-3772](https://osv.dev/vulnerability/PYSEC-2026-3772), CC-BY-4.0, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-74900 · Whole record: https://cve.day/CVE-2026-74900.json · Rebuilt by cve.day 2026-11-25T22:59:33.340Z
