CVE-2023-30470: A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for He
CVE-2023-30470 is a critical-severity flaw (CVSS 9.8) affecting hermes. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for Hermes prior to commit da8990f737ebb9d9810633502f65ed462b819c09 could have been used by an attacker to achieve remote code execution. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2023-05-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-30470?
hermes: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-30470 being exploited?
CVE-2023-30470 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-30470 affect?
CVE-2023-30470 affects hermes. Severity is critical (CVSS 9.8). A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for Hermes prior to commit da8990f737ebb9d9810633502f65ed462b819c09 could have been used by an attacker to achieve remote code execution
How urgent is CVE-2023-30470?
Priority 57/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-22798 MEDIUM 5.9 UPGRADE hermes is an implementation of the HERMES workflow to automatize software publication with rich metadata
- CVE-2025-1293 HIGH 8.2 UPGRADE Hermes versions up to 0.4.0 improperly validated the JWT provided when using the AWS ALB authentication mode,
- CVE-2023-28081 CRITICAL 9.8 MITIGATE A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used t
- CVE-2023-25933 CRITICAL 9.8 MITIGATE A type confusion bug in TypedArray prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could have been us
- CVE-2023-24833 HIGH 7.5 UPGRADE A use-after-free in BigIntPrimitive addition in Hermes prior to commit a6dcafe6ded8e61658b40f5699878cd19a481f8