CVE-2023-30470: Use After Free

Published May 18, 2023
·
Updated

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.

Affected Software

1 affected component
Facebook Hermes

Event History

May 18, 2023
CVE Published
via MITRE·09:27 PM
Data Sourced
via MITRE·09:27 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-30470?

CVE-2023-30470 is a vulnerability related to a use-after-free issue in the bytecode generation of Hermes when optimizations are enabled.

2

What is the severity of CVE-2023-30470?

The severity of CVE-2023-30470 is critical with a CVSS score of 9.8.

3

How can an attacker exploit CVE-2023-30470?

An attacker can exploit CVE-2023-30470 to achieve remote code execution.

4

Is the vulnerability CVE-2023-30470 exploitable in all cases?

No, the vulnerability is only exploitable in cases where Hermes is used and optimizations are enabled prior to commit da8990f737ebb9d9810633502f65ed462b819c09.

5

How can I fix the vulnerability CVE-2023-30470?

To fix the vulnerability, update Hermes to a version that includes the commit da8990f737ebb9d9810633502f65ed462b819c09.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203