{"cve":"CVE-2026-21439","nvd":{"published":"2026-01-06T00:15:49.027","modified":"2026-06-17T10:18:40.517","status":"Analyzed","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 filenames in various modes. This issue is fixed in version 0.0.16.","cvss_v4":{"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","score":2.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-150"],"references":["https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a","https://github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087","https://github.com/badkeys/badkeys/issues/40","https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3","https://github.com/badkeys/badkeys/issues/40"],"products":["badkeys:badkeys"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-21439","score":0.00331,"percentile":0.26328,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wjpc-4f29-83h3","url":"https://osv.dev/vulnerability/GHSA-wjpc-4f29-83h3","summary":"badkeys vulnerable to ASCII control character injection on console via malformed input","modified":"2026-07-07T17:56:57.269524698Z","packages":[{"ecosystem":"PyPI","name":"badkeys","purl":"pkg:pypi/badkeys","ranges":["<0.0.16"],"fixed":["0.0.16"]}]},{"id":"PYSEC-2026-1212","url":"https://osv.dev/vulnerability/PYSEC-2026-1212","summary":"badkeys vulnerable to ASCII control character injection on console via malformed input","modified":"2026-07-07T17:46:30.050070798Z","packages":[{"ecosystem":"PyPI","name":"badkeys","purl":"pkg:pypi/badkeys","ranges":["<0.0.16"],"fixed":["0.0.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}