CVE-2021-42694
8.3 HIGHAn issue was discovered in the character definitions of the Unicode Specification through 14.0
Published: 2021-11-01 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 8.3 HIGH
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CWE
- CWE-94
Affected products
| Vendor | Product |
|---|---|
| unicode | unicode |
Description
An issue was discovered in the character definitions of the Unicode Specification through 14.0. The specification allows an adversary to produce source code identifiers such as function names using homoglyphs that render visually identical to a target identifier. Adversaries can leverage this to inject code via adversarial identifier definitions in upstream software dependencies invoked deceptively in downstream software. NOTE: the Unicode Consortium offers the following alternative approach to presenting this concern. An issue is noted in the nature of international text that can affect applications that implement support for The Unicode Standard (all versions). Unless mitigated, an adversary could produce source code identifiers using homoglyph characters that render visually identical to but are distinct from a target identifier. In this way, an adversary could inject adversarial identifier definitions in upstream software that are not detected by human reviewers and are invoked deceptively in downstream software. The Unicode Consortium has documented this class of security vulnerability in its document, Unicode Technical Report #36, Unicode Security Considerations. The Unicode Consortium also provides guidance on mitigations for this class of issues in Unicode Technical Standard #39, Unicode Security Mechanisms.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-42694
- [Other]http://www.openwall.com/lists/oss-security/2021/11/01/1
- [Other]http://www.openwall.com/lists/oss-security/2021/11/01/6
- [Vendor advisory]http://www.unicode.org/versions/Unicode14.0.0/
- [Other]https://cwe.mitre.org/data/definitions/1007.html
- [Other]https://security.gentoo.org/glsa/202210-09
- [Other]https://trojansource.codes
- [Other]https://www.kb.cert.org/vuls/id/999008
- [Exploit reference]https://www.scyon.nl/post/trojans-in-your-source-code
- [Vendor advisory]https://www.unicode.org/reports/tr36/
- [Vendor advisory]https://www.unicode.org/reports/tr39/
- [Other]http://www.openwall.com/lists/oss-security/2021/11/01/1
- [Other]http://www.openwall.com/lists/oss-security/2021/11/01/6
- [Vendor advisory]http://www.unicode.org/versions/Unicode14.0.0/
- [Other]https://cwe.mitre.org/data/definitions/1007.html
- [Other]https://security.gentoo.org/glsa/202210-09
- [Other]https://trojansource.codes
- [Other]https://www.kb.cert.org/vuls/id/999008
- [Exploit reference]https://www.scyon.nl/post/trojans-in-your-source-code
- [Vendor advisory]https://www.unicode.org/reports/tr36/
- [Vendor advisory]https://www.unicode.org/reports/tr39/
Related CVEs
Same vendor
- CVE-2021-42574 — An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0 (8.3 HIGH)
Same CWE
- CVE-2026-24155 — NVIDIA NeMo Framework for all platforms contains a code injection vulnerability (7.8 HIGH)
- CVE-2026-49774 — Improper Control of Generation of Code ('Code Injection') vulnerability in Filipe Nasc RD Station allows Remote Code Inclusion (9.9 CRITICAL)
- CVE-2026-48017 — DbGate is cross-platform database manager (8.8 HIGH)
- CVE-2026-48836 — Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions (10.0 CRITICAL)
- CVE-2026-48124 — Cursor is a code editor built for programming with AI