← Back to CVEs
CVE-2026-21439
MEDIUM5.3
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.
CVE Details
CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/6/2026
Last Modified1/12/2026
Sourcenvd
Honeypot Sightings0
Affected Products
badkeys:badkeys
Weaknesses (CWE)
CWE-150
References
https://github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a(security-advisories@github.com)
https://github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087(security-advisories@github.com)
https://github.com/badkeys/badkeys/issues/40(security-advisories@github.com)
https://github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3(security-advisories@github.com)
https://github.com/badkeys/badkeys/issues/40(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.