Use-after-free vulnerability in Hermes bytecode generation with unsound inference

Use-after-free vulnerability in Hermes bytecode generation with unsound inference

CVE-2023-30470 · CRITICAL Severity

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

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.

Learn more about our Web Application Penetration Testing UK.