CVE-2020-1911Facebook Hermes
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Hermes We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Sep 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-843
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit fe52854cdf6725c2eaa9e125995da76e6ceb27da allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
What to do
- Apply the vendor's security update for Hermes.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | hermes-engine |
< 0.5.2 |
0.5.2 |
npm install hermes-engine@0.5.2 |
Per OSV / GitHub Advisories (GHSA-f5x2-xv93-4p23). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hermes | < 0.4.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.facebook.com Third Party Advisory