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

EcosystemPackageFixed inAdvisory
Debian:12node-sha.js2.4.11+~2.4.0-2+deb12u1DSA-6002-1
Debian:12node-sha.js2.4.11+~2.4.0-2+deb12u1DEBIAN-CVE-2025-9288
Debian:13node-sha.js2.4.11+~2.4.0-2+deb13u1DSA-6002-1
Debian:13node-sha.js2.4.11+~2.4.0-2+deb13u1DEBIAN-CVE-2025-9288
Debian:14node-sha.js2.4.12+~3.0.5-1DEBIAN-CVE-2025-9288
Ubuntu:22.04:LTSnode-sha.js2.4.11+~2.4.0-1ubuntu0.1USN-7778-1
Ubuntu:22.04:LTSnode-sha.js2.4.11+~2.4.0-1ubuntu0.1UBUNTU-CVE-2025-9288
Ubuntu:24.04:LTSnode-sha.js2.4.11+~2.4.0-2+deb13u1build0.24.04.1USN-7778-1
Ubuntu:24.04:LTSnode-sha.js2.4.11+~2.4.0-2+deb13u1build0.24.04.1UBUNTU-CVE-2025-9288
npmsha.js2.4.12GHSA-95m3-7q98-8xr5

Affected products (as reported)

VendorProductVersions
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

References