{"id":"CVE-2022-25872","aliases":["EUVD-2022-6069","GHSA-hmqg-p8f8-3qrw"],"status":"published","title":"Out-of-bounds Read","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01141,"percentile":0.66877,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2022-06-17T20:05:23Z","modified":"2026-06-17T04:34:25Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"fast-string-search","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.3"}]}]},{"source":"osv","ecosystem":"npm","package":"fast-string-search","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.4.3"}]}]}],"products":[{"vendor":"fast_string_search_project","product":"fast_string_search"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25872","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hmqg-p8f8-3qrw"},{"url":"https://github.com/magiclen/node-fast-string-search","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25872","title":"Out-of-bounds Read","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.","status":"published","published":"2022-06-17T20:05:23.831Z","modified":"2024-09-16T16:18:30.28Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2022-6069","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.","status":"published","published":"2022-06-17T20:05:23Z","modified":"2024-09-16T16:18:30Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","level":"medium"}],"updated_at":"2026-11-03T00:55:53.022594Z"}],"ghsa":[{"id":"GHSA-hmqg-p8f8-3qrw","title":"Out-of-bounds Read in fast-string-search","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.","status":"published","published":"2022-06-18T00:00:19Z","modified":"2023-01-27T05:04:20Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:36:20.985872Z"}],"nvd":[{"id":"CVE-2022-25872","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.","status":"published","published":"2022-06-17T20:15:10.727Z","modified":"2026-06-17T04:34:25.413Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:07:22.613788Z"}],"osv":[{"id":"GHSA-hmqg-p8f8-3qrw","title":"Out-of-bounds Read in fast-string-search","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.","status":"published","published":"2022-06-18T00:00:19Z","modified":"2026-03-16T03:12:34.77246Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
