Home

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.

PUBLISHED Reserved 2025-12-29 | Published 2026-01-05 | Updated 2026-01-06 | Assigner GitHub_M




LOW: 2.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Problem types

CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

Product status

< 0.0.16
affected

References

github.com/badkeys/badkeys/issues/40 exploit

github.com/...adkeys/security/advisories/GHSA-wjpc-4f29-83h3

github.com/badkeys/badkeys/issues/40

github.com/...ommit/635a2f3b1b50a895d8b09ec8629efc06189f349a

github.com/...ommit/de631f69f040974bb5fb442cdab9a1d904c64087

cve.org (CVE-2026-21439)

nvd.nist.gov (CVE-2026-21439)

Download JSON