# CVE-2026-74872: openssl_encrypt before 1.4.0 Arbitrary Code Execution via Whirlpool

- 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-03-31T23:31:29.000Z
- Modified: 2026-10-08T16:17:38.797Z
- Also known as: GHSA-j48q-4c78-rhf9, PYSEC-2026-3742
- Weaknesses: CWE-426, CWE-427
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

openssl_encrypt versions before 1.4.0 contain an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the whirlpool*py313*.so pattern in site-packages directories to achieve native code execution when the module is loaded.

(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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- 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-j48q-4c78-rhf9> (advisory, mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-arbitrary-code-execution-via-whirlpool> (advisory, third-party-advisory)
- <https://github.com/jahlives/openssl_encrypt/commit/963d0d1278b722ea134272f9df65fddcd3e6ab47> (web)
- <https://github.com/jahlives/openssl_encrypt> (package)

## Sources

- CVE List: [CVE-2026-74872](https://www.cve.org/CVERecord?id=CVE-2026-74872), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-j48q-4c78-rhf9](https://github.com/advisories/GHSA-j48q-4c78-rhf9), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-74872](https://nvd.nist.gov/vuln/detail/CVE-2026-74872), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-3742](https://osv.dev/vulnerability/PYSEC-2026-3742), CC-BY-4.0, modified 2026-09-01

---

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