CVE-2021-42694 describes a vulnerability in the Unicode Specification (up to version 14.0) that allows adversaries to use homoglyphs—Unicode characters that are visually indistinguishable from standard ASCII characters—to create source code identifiers (such as function or variable names) that appear identical to legitimate ones. This can be exploited to inject malicious code into upstream dependencies, which may then be invoked in downstream software without detection by human reviewers, due to the visual similarity of the identifiers.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository provides a proof-of-concept tool for exploiting CVE-2021-42694, a Unicode specification vulnerability that allows the use of visually identical homoglyphs in source code identifiers. The main script, codegen.py, takes a template source file with special placeholders (e.g., $H$) and replaces them with Unicode homoglyphs as defined in homoglyphs.txt. This enables the generation of source code files (examples provided in C++ and Python) where malicious identifiers are visually indistinguishable from legitimate ones, facilitating attacks such as code injection or obfuscation. The repository includes a README with usage instructions, a homoglyphs.txt mapping file, and example templates. The exploit is language-agnostic and can target any language or toolchain that supports Unicode identifiers. No network or remote endpoints are present; the attack vector is local, relying on the manipulation and distribution of source code files.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.