{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-21439","id":"CVE-2026-21439","title":"badkeys vulnerable to ASCII control character injection on console via malformed input","description":"badkeys is a tool and library for checking cryptographic public keys for known vulnerabilities. In versions 0.0.15 and below, an attacker may inject content with ASCII control characters like vertical tabs, ANSI escape sequences, etc., that can create misleading output of the badkeys command-line tool. This impacts scanning DKIM keys (both --dkim and --dkim-dns), SSH keys (--ssh-lines mode), and f","descriptionLong":"badkeys is a tool and library for checking cryptographic public keys for known vulnerabilities. In versions 0.0.15 and below, an attacker may inject content with ASCII control characters like vertical tabs, ANSI escape sequences, etc., that can create misleading output of the badkeys command-line tool. This impacts scanning DKIM keys (both --dkim and --dkim-dns), SSH keys (--ssh-lines mode), and filenames in various modes. This issue is fixed in version 0.0.16.","published":"2026-01-05T23:51:35.670Z","updated":"2026-10-28T02:31:14.814828079Z","reserved":"2025-12-29T03:00:29.275Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","rating":"low","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["badkeys"],"affectedProducts":[{"vendor":"badkeys","product":"badkeys","defaultStatus":null,"versions":[{"version":"< 0.0.16","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"badkeys","purl":"pkg:pypi/badkeys","ranges":["<0.0.16"],"fixed":["0.0.16"],"advisory":"GHSA-wjpc-4f29-83h3"}],"cwes":["CWE-150"],"aliases":["GHSA-wjpc-4f29-83h3","PYSEC-2026-1212"],"references":[{"url":"https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory","web"]},{"url":"https://github.com/badkeys/badkeys/issues/40","tags":["x_refsource_MISC","exploit","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21439.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21439","tags":["advisory"]},{"url":"https://github.com/badkeys/badkeys","tags":["package"]},{"url":"https://pypi.org/project/badkeys","tags":["package"]},{"url":"https://github.com/advisories/GHSA-wjpc-4f29-83h3","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00331,"epssPercentile":0.26829,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-21439","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21439","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-21439","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wjpc-4f29-83h3","ok":true,"note":"GHSA-wjpc-4f29-83h3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-21439","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}