CVE-2026-21439

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:badkeys:badkeys:*:*:*:*:*:python:*:*

History

17 Jun 2026, 10:18

Type Values Removed Values Added
Summary
  • (es) badkeys es una herramienta y biblioteca para verificar claves públicas criptográficas en busca de vulnerabilidades conocidas. En las versiones 0.0.15 e inferiores, un atacante podría inyectar contenido con caracteres de control ASCII como tabulaciones verticales, secuencias de escape ANSI, etc., que pueden generar una salida engañosa de la herramienta de línea de comandos badkeys. Esto afecta el escaneo de claves DKIM (tanto --dkim como --dkim-dns), claves SSH (modo --ssh-lines), y nombres de archivo en varios modos. Este problema está solucionado en la versión 0.0.16.

12 Jan 2026, 18:18

Type Values Removed Values Added
References () https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a - () https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a - Patch
References () https://github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087 - () https://github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087 - Patch
References () https://github.com/badkeys/badkeys/issues/40 - () https://github.com/badkeys/badkeys/issues/40 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3 - () https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3 - Third Party Advisory
First Time Badkeys badkeys
Badkeys
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:badkeys:badkeys:*:*:*:*:*:python:*:*

06 Jan 2026, 19:16

Type Values Removed Values Added
References () https://github.com/badkeys/badkeys/issues/40 - () https://github.com/badkeys/badkeys/issues/40 -

06 Jan 2026, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-06 00:15

Updated : 2026-06-17 10:18


NVD link : CVE-2026-21439

Mitre link : CVE-2026-21439

CVE.ORG link : CVE-2026-21439


JSON object : View

Products Affected

badkeys

  • badkeys
CWE
CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences