Vulnerability · Published Aug 20, 2025 · Assigned by harborist
CVE-2025-9288Missing type checks leading to hash rewind and passing on crafted data
Critical 9.1
In plain English
A critical-severity improper input validation in sha.js. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)9.1Critical
Exploit odds (30 days)0.7%top 45.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Improper Input Validation vulnerability in sha.js allows Input Data Manipulation.This issue affects sha.js: through 2.4.11.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 | DSA-6002-1 |
| Debian:12 | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 | DEBIAN-CVE-2025-9288 |
| Debian:13 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1 | DSA-6002-1 |
| Debian:13 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1 | DEBIAN-CVE-2025-9288 |
| Debian:14 | node-sha.js | 2.4.12+~3.0.5-1 | DEBIAN-CVE-2025-9288 |
| Ubuntu:22.04:LTS | node-sha.js | 2.4.11+~2.4.0-1ubuntu0.1 | USN-7778-1 |
| Ubuntu:22.04:LTS | node-sha.js | 2.4.11+~2.4.0-1ubuntu0.1 | UBUNTU-CVE-2025-9288 |
| Ubuntu:24.04:LTS | node-sha.js | 2.4.11+~2.4.0-2+deb13u1build0.24.04.1 | USN-7778-1 |
| Ubuntu:24.04:LTS | node-sha.js | 2.4.11+~2.4.0-2+deb13u1build0.24.04.1 | UBUNTU-CVE-2025-9288 |
| npm | sha.js | 2.4.12 | GHSA-95m3-7q98-8xr5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sha.js | 0 – through 2.4.11 |
Weakness: CWE-20 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:H/SI:H/SA:N