{"cve":"CVE-2022-25872","nvd":{"published":"2022-06-17T20:15:10.727","modified":"2026-06-17T04:34:25.413","status":"Modified","description":"All versions of package fast-string-search are vulnerable to Out-of-bounds Read due to incorrect memory freeing and length calculation for any non-string input as the source. This allows the attacker to read previously allocated memory.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-125"],"references":["https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192","https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368","https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192","https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368"],"products":["fast_string_search_project:fast_string_search"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-25872","score":0.01123,"percentile":0.66255,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hmqg-p8f8-3qrw","url":"https://osv.dev/vulnerability/GHSA-hmqg-p8f8-3qrw","summary":"Out-of-bounds Read in fast-string-search","modified":"2026-03-16T03:12:34.772460Z","packages":[{"ecosystem":"npm","name":"fast-string-search","purl":"pkg:npm/fast-string-search","ranges":["<=1.4.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}