CVE-2022-25872
MEDIUM5.3EPSS 0.23%Out-of-bounds Read in fast-string-search
Published: 6/18/2022Modified: 3/16/2026
Also known as:GHSA-hmqg-p8f8-3qrw
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.
Affected packages (1)
- npm/fast-string-searchfrom 0, <= 1.4.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |