CVE-2022-22895
Homebrew vulnerability analysis and mitigation

Overview

JerryScript version 3.0.0 was discovered to contain a heap-buffer-overflow vulnerability (CVE-2022-22895) in the ecmautf8stringtonumberbyradix function located in /jerry-core/ecma/base/ecma-helpers-conversion.c. The vulnerability was disclosed on January 21, 2022 and received a CVSS v3 Base Score of 7.8 (AttackerKB).

Technical details

The vulnerability is a heap-buffer-overflow that occurs in the ecmautf8stringtonumberbyradix function when processing string to number conversions. The issue can be triggered through specific test cases involving number conversion operations with hexadecimal values. The vulnerability requires local access and user interaction to be exploited, as indicated by the CVSS metrics: Attack Vector (AV): Local, Attack Complexity (AC): Low, Privileges Required (PR): None, User Interaction (UI): Required (AttackerKB).

Impact

If successfully exploited, this vulnerability could lead to high impacts on confidentiality, integrity, and availability of the affected system. The CVSS scoring indicates high impact scores for all three security metrics - Confidentiality (C): High, Integrity (I): High, Availability (A): High (AttackerKB).

Mitigation and workarounds

The vulnerability was fixed in a patch that addresses the buffer overflow in string radix conversion. The fix was implemented through pull request #4850 in the JerryScript repository (GitHub PR).

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-66222CRITICAL9.6
  • HomebrewHomebrew
  • deepchat
NoNoDec 03, 2025
CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-66548MEDIUM5.5
  • HomebrewHomebrew
  • deck
NoYesDec 05, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-66557MEDIUM4.3
  • HomebrewHomebrew
  • deck
NoYesDec 05, 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