p PatchFirst

CVE-2026-21439

CVE-2026-21439 · badkeys vulnerable to ASCII control character injection on console via malformed input

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 2.0 · Low · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • badkeys

    Versions
    • < 0.0.16: Affected

    No fix published

  • badkeys PyPI

    Versions
    • 0.0.1
    • 0.0.10
    • 0.0.11
    • 0.0.12
    • 0.0.13
    • 0.0.14
    • 0.0.15
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    • 0.0.7
    • 0.0.8
    • 0.0.9
    Affected ranges
    • ECOSYSTEM: < 0.0.16

    Update to 0.0.16

Original sources

Check your server →