Loading HuntDB...

GHSA-mph8-6787-r8hw

GitHub Security Advisory

Use After Free in Hermes

✓ GitHub Reviewed CRITICAL Has CVE

Advisory Details

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.

Affected Packages

npm hermes-engine
Affected versions: 0 (fixed in 0.8.0)

Related CVEs

Key Information

GHSA ID
GHSA-mph8-6787-r8hw
Published
May 24, 2022 7:05 PM
Last Modified
June 22, 2022 6:20 PM
CVSS Score
9.0 /10
Primary Ecosystem
npm
Primary Package
hermes-engine
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 3, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.