Skip to content
OpenAdvisories
Low · 2.0 CVE-2026-21439 EUVD-2026-0823GHSA-wjpc-4f29-83h3PYSEC-2026-1212

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

Published Jan 5, 2026 · Updated Jan 6, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
badkeys badkeys < 0.0.16 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI badkeys < 0.0.16 0.0.16 GHSA-wjpc-4f29-83h3

References