# CVE-2023-30470: A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for Hermes prior to commit da8990f7…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.25%, higher than 70% of CVEs (2026-12-01)
- Published: 2023-05-18T21:27:57.350Z
- Modified: 2026-06-17T05:54:47.610Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: facebook

## Description

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.

(As written by CVE List.)

## Affected

- Facebook Hermes: before da8990f737ebb9d9810633502f65ed462b819c09

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.facebook.com/security/advisories/cve-2023-30470> (patch, vendor-advisory)
- <https://github.com/facebook/hermes/commit/da8990f737ebb9d9810633502f65ed462b819c09> (patch)

## Sources

- CVE List: [CVE-2023-30470](https://www.cve.org/CVERecord?id=CVE-2023-30470), CVE Terms of Use, modified 2025-01-21
- NVD: [CVE-2023-30470](https://nvd.nist.gov/vuln/detail/CVE-2023-30470), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-30470 · Whole record: https://cve.day/CVE-2023-30470.json · Rebuilt by cve.day 2026-11-25T22:58:24.275Z
