CVE-2021-24037

CRITICAL

Hermes < 0.8.0 - Use-After-Free via Error Message Emission

Title source: llm
STIX 2.1

Description

A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

References (2)

Core 2

Scores

CVSS v3 9.8
EPSS 0.0180
EPSS Percentile 75.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (2)
facebook/hermes < 0.8.0
npm/hermes-engine 0 - 0.8.0npm
Published Jun 15, 2021
Tracked Since Feb 18, 2026