CVE-2021-46170
Homebrew vulnerability analysis and mitigation

Overview

An issue was discovered in JerryScript commit a6ab5e9. There is a Use-After-Free vulnerability in the lexercompareidentifiertostring function in js-lexer.c file. The vulnerability was reported on January 3, 2022 (NVD, GitHub Issue).

Technical details

The vulnerability is a heap-use-after-free issue that occurs in the lexercompareidentifiertostring function at line 3503 in jerry-core/parser/js/js-lexer.c. The CVSS v3.1 base score is 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability has been classified as CWE-416 (Use After Free) (NVD).

Impact

The vulnerability affects the availability of the system. When exploited, it can cause the application to crash or become unstable due to accessing memory that has already been freed (NVD).

Mitigation and workarounds

The vulnerability affects JerryScript version 2.3.0. Users should update to a patched version when available (NVD).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-58360CRITICAL9.8
  • JavaJava
  • org.geoserver.web:gs-web-app
NoYesNov 25, 2025
CVE-2025-65085HIGH8.4
  • NixOSNixOS
  • cobalt
NoNoNov 25, 2025
CVE-2025-65084HIGH8.4
  • NixOSNixOS
  • argon
NoNoNov 25, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-64761HIGH7.5
  • WolfiWolfi
  • openbao
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management