CVE-2026-21439
published low CVSS 4.0 · 2.0badkeys vulnerable to ASCII control character injection on console via malformed input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| badkeys | — | badkeys< 0.0.16 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| badkeys | badkeys | < 0.0.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
4Provider assertions
2GitHub_M · cna
badkeys vulnerable to ASCII control character injection on console via malformed input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7134eb64f00144b8f5a300a3df2aae2f0c8370577e47fda01ed3ac531d22d86d
- Ingested
- 23 Sep 2026, 09:04:58 UTC
- Source record
- Official CVE record