# CVE-2026-81706: openssl_encrypt before 1.4.9 Key Substitution via Identity Shadowing

- 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.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-27T14:51:08.461Z
- Modified: 2026-10-01T15:21:33.701Z
- Also known as: PYSEC-2026-3781, GHSA-8gmx-w9m8-vx7q
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

openssl_encrypt before 1.4.9 fails to prevent namespace collisions between own identities and contacts in IdentityStore, allowing attackers to create shadowed contact entries invisible until the corresponding own identity is deleted. When the own identity is deleted, the shadowed contact becomes visible and resolves to the attacker's keys, enabling silent key substitution for encrypted files.

(As written by CVE List.)

## Affected

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

## 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 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-8gmx-w9m8-vx7q> (advisory, vendor-advisory)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-key-substitution-via-identity-shadowing> (advisory, third-party-advisory)

## Sources

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

---

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