Hermes Bytecode Optimization Bug Allows Use-After-Free and Arbitrary Code Execution

Hermes Bytecode Optimization Bug Allows Use-After-Free and Arbitrary Code Execution

CVE-2023-28081 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.