CVE-2022-25872
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-25872 is a vulnerability affecting the fast-string-search Node.js module, discovered and disclosed on February 3, 2022. The vulnerability is related to an Out-of-bounds Read issue that occurs due to incorrect memory freeing and length calculation when processing non-string input as the source (Snyk).

Technical details

The vulnerability is classified as a CWE-125 (Out-of-bounds Read) with a CVSS v3.1 score of 5.3 (Medium severity). The issue occurs when the package incorrectly handles memory management and length calculations for non-string inputs, which can lead to unauthorized access to previously allocated memory. The vulnerability has Network attack vector, Low attack complexity, requires No privileges, and No user interaction (Snyk).

Impact

When exploited, this vulnerability allows attackers to read previously allocated memory, potentially exposing sensitive information. The confidentiality impact is rated as Low, with no direct impact on integrity or availability of the system (Snyk).

Mitigation and workarounds

As of the disclosure, there is no fixed version available for the fast-string-search package. Users are advised to assess their risk and consider alternative solutions as no official patch has been released (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 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