Skip to main content
← All vulnerabilities
CVE-2026-21439PYSEC-2026-1212GHSA-WJPC-4F29-83H3

badkeys vulnerable to ASCII control character injection on console via malformed input

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • badkeys badkeys

    fixed in 0.0.16

  • badkeysPyPI

    fixed in 0.0.16

References 4

GitHub · badkeys/badkeys