# CVE-2026-74885: openssl_encrypt before 1.4.0 Logging Bug and Race Condition

- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-17T11:04:50.459Z
- Modified: 2026-10-01T15:20:57.192Z
- Also known as: PYSEC-2026-3762, GHSA-43r4-3hf9-m84q
- Weaknesses: CWE-117
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

openssl_encrypt versions before 1.4.0 contain a logging bug in restore_hidden_modules() that logs module counts after clearing, always showing zero restored modules and corrupting audit trails. Additionally, a race condition exists between module hiding and import hook installation where another thread could re-import blocked modules in multi-threaded environments.

(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 3.6 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- 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-43r4-3hf9-m84q> (advisory, mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-logging-bug-and-race-condition> (advisory, third-party-advisory)

## Sources

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

---

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