CVE-2022-25872 json
Out-of-bounds Read
published 2022-06-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-hmqg-p8f8-3qrw , EUVD-2022-6069
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
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.
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | fast-string-search | <=1.4.3 |
no fix listed |
Affected products
- n/a fast-string-search
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
snyk.io
/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368
web, exploit, third-party-advisory
-
github.com
/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L19
web, broken-link, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25872
advisory
-
github.com
/magiclen/node-fast-string-search
package
Sources
- CVE List CVE-2022-25872
- GitHub Advisory GHSA-hmqg-p8f8-3qrw
- NVD CVE-2022-25872
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.