# CVE-2021-42694: An issue was discovered in the character definitions of the Unicode Specification through 14.0. The specification allow…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.91% (percentile 93, 2026-11-28)
- **CWE:** CWE-94
- **Published:** 2021-11-01T00:00:00.000Z
- **Modified:** 2026-06-17T04:09:58.010Z

## Who should check

- Anyone running n/a (versions: see the vendor advisory)
- Anyone running unicode \< 14.0.0

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

## Affected and fixed versions

- n/a: see vendor advisory (nvd)
- unicode: \< 14.0.0 (nvd)

## Mitigation

- Upgrade unicode to 14.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-42694. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-42694.md
Affected: n/a; unicode < 14.0.0
Fixed in: unicode 14.0.0

Steps:
1. Search this machine and project for n/a, unicode: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-42694 being exploited?

There is no confirmed exploitation: CVE-2021-42694 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 4.91% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-42694?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-42694?

n/a; unicode \< 14.0.0.

### Is there a fix for CVE-2021-42694?

Yes. Fixed in unicode 14.0.0. Upgrade unicode to 14.0.0 or later.

### How do I check if I'm affected by CVE-2021-42694?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://www.unicode.org/versions/Unicode14.0.0/>
- vendor: <https://www.unicode.org/reports/tr36/>
- vendor: <https://www.unicode.org/reports/tr39/>
- vendor: <https://security.gentoo.org/glsa/202210-09>
- exploit: <https://www.scyon.nl/post/trojans-in-your-source-code>
- other: <https://trojansource.codes/>
- other: <http://www.openwall.com/lists/oss-security/2021/11/01/1>
- other: <http://www.openwall.com/lists/oss-security/2021/11/01/6>
- other: <https://www.kb.cert.org/vuls/id/999008>
- other: <https://cwe.mitre.org/data/definitions/1007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-42694>

HTML: <https://flawdb.com/CVE-2021-42694> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-42694>
