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.
References (4)
Core 4
Core References
Third Party Advisory x_refsource_confirm
https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/badkeys/badkeys/issues/40
Patch x_refsource_misc
https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a
Scores
CVSS v3
5.3
EPSS
0.0001
EPSS Percentile
2.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-150
Status
published
Products (2)
badkeys/badkeys
< 0.0.16
pypi/badkeys
0 - 0.0.16PyPI
Published
Jan 06, 2026
Tracked Since
Feb 18, 2026