{"id":"CVE-2022-25872","aliases":["CVE-2022-25872","GHSA-hmqg-p8f8-3qrw"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds Read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Todas las versiones del paquete fast-string-search son vulnerables a una lectura fuera de límites debido a una liberación incorrecta de memoria y al cálculo de la longitud para cualquier entrada que no sea una cadena como fuente. Esto permite al atacante leer la memoria previamente asignada","source":"nvd"}],"published":"2022-06-17T20:05:23.831Z","modified":"2026-06-17T04:34:25.413Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"fast-string-search","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.4.3"}],"ecosystem":"npm","package":"fast-string-search","purl":"pkg:npm/fast-string-search","source":"ghsa"},{"ranges":[],"vendor":"fast_string_search_project","product":"fast_string_search","cpe":"cpe:2.3:a:fast_string_search_project:fast_string_search:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192","tags":["broken-link","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25872","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/magiclen/node-fast-string-search","tags":["package"],"sources":["ghsa"]}],"credits":["Cristian-Alexandru Staicu"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25872","url":"https://www.cve.org/CVERecord?id=CVE-2022-25872","licence":"CVE Terms of Use","modified":"2024-09-16T16:18:30.280Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hmqg-p8f8-3qrw","url":"https://github.com/advisories/GHSA-hmqg-p8f8-3qrw","licence":"CC-BY-4.0","modified":"2026-03-16T03:12:34.772Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25872","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25872","licence":"Public domain","modified":"2026-06-17T04:34:25.413Z"}],"updatedAt":"2026-11-25T22:58:12.449Z","epss":{"score":0.01141,"percentile":0.67561,"date":"2026-12-01T12:00:22.000Z"}}