{"id":"CVE-2026-74876","summary":"openssl_encrypt before 1.4.0 Unverified Key Bundle Encryption","details":"openssl_encrypt versions before 1.4.0 contain a vulnerability in PublicKeyBundle.from_dict() that creates key bundles from untrusted data without verifying signatures. Attackers can call from_dict() followed by to_identity() without signature verification to encrypt data using attacker-controlled public keys, leaking secrets.","aliases":["GHSA-8h88-gxp3-j7pg","PYSEC-2026-3756"],"modified":"2026-09-03T03:48:01.819453730Z","published":"2026-08-17T11:04:44.249Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74876.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-347"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74876.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-8h88-gxp3-j7pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74876"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-unverified-key-bundle-encryption"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jahlives/openssl_encrypt","events":[{"introduced":"0"},{"fixed":"768df5cd1910e349509f07a27eeac6951e0003bf"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74876.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}