# CVE-2023-28081: A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used to cause an use-after-free and…

- 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.23%, higher than 69% of CVEs (2026-11-30)
- Published: 2023-05-18T21:26:49.822Z
- Modified: 2026-06-17T05:46:49.243Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: facebook

## Description

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.

(As written by CVE List.)

## Affected

- Facebook Hermes: before e6ed9c1a4b02dc219de1648f44cd808a56171b81

## 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-28081> (patch, vendor-advisory)
- <https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81> (patch)

## Sources

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

---

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