← Back to CVEs
CVE-2023-28081
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published5/18/2023
Last Modified1/21/2025
Sourcenvd
Honeypot Sightings0
Affected Products
facebook:hermes
Weaknesses (CWE)
CWE-416CWE-416
References
https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81(cve-assign@fb.com)
https://www.facebook.com/security/advisories/cve-2023-28081(cve-assign@fb.com)
https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81(af854a3a-2127-422b-91ae-364da2661108)
https://www.facebook.com/security/advisories/cve-2023-28081(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.