CVE-2026-21439: badkeys is a tool and library for checking cryptographic public keys for known vulnerabilities
CVE-2026-21439 is a medium-severity flaw (CVSS 5.3) affecting badkeys. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-150 |
| Published | 2026-01-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-21439?
badkeys: upgrade to 0.0.16. Exact commands for each OS are on this page.
Is CVE-2026-21439 being exploited?
CVE-2026-21439 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-21439 affect?
CVE-2026-21439 affects badkeys. Severity is medium (CVSS 5.3). 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
How urgent is CVE-2026-21439?
Priority 35/100. Public exploit reference; Remotely exploitable, no login, no user action