CVE-2023-28081: A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used t
CVE-2023-28081 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 bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used to cause an use-after-free and obtain arbitrary code execution via a carefully crafted payload. 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 | 0.9% (top 41%) |
| 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-28081?
hermes: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-28081 being exploited?
CVE-2023-28081 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-28081 affect?
CVE-2023-28081 affects hermes. Severity is critical (CVSS 9.8). A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used to cause an use-after-free and obtain arbitrary code execution via a carefully crafted payload. Note that this is only exploitable
How urgent is CVE-2023-28081?
Priority 54/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-30470 CRITICAL 9.8 MITIGATE A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for He
- 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