Low severityOSV Advisory· Published Jan 5, 2026· Updated Jan 6, 2026
badkeys vulnerable to ASCII control character injection on console via malformed input
CVE-2026-21439
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
badkeysPyPI | < 0.0.16 | 0.0.16 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-wjpc-4f29-83h3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-21439ghsaADVISORY
- github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349aghsax_refsource_MISCWEB
- github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087ghsax_refsource_MISCWEB
- github.com/badkeys/badkeys/issues/40ghsax_refsource_MISCWEB
- github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.