{"id":"CVE-2026-81695","summary":"openssl_encrypt before 1.4.9 Terminal Injection via key_id","details":"openssl_encrypt versions before 1.4.9 fail to escape attacker-controlled key_id values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious key_id containing escape sequences to repaint terminal output and forge authenticity verification blocks.","aliases":["GHSA-jwfm-99h7-2w5x"],"modified":"2026-08-30T03:30:37.189620289Z","published":"2026-08-27T14:50:59.059Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-117"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81695.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81695.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-jwfm-99h7-2w5x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81695"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-terminal-injection-via-key-id"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jahlives/openssl_encrypt","events":[{"introduced":"0"},{"fixed":"39b0a010cae90520f74b7194f61fedd43af04ef8"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0"},{"fixed":"1.4.9"}]}}],"versions":["v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.2","v1.4.1rc2","v1.4.1rc1","v1.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81695.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"}]}