Red Hat VEX
RHVEX-CVE-2025-9287
cipher-base: Cipher-base hash manipulation
Details
An improper input validation vulnerability was found in the cipher-base npm package. Missing input type checks in the polyfill of the Node.js createHash function result in invalid value calculations, hanging and rewinding the hash state, including turning a tagged hash into an untagged hash, for malicious JSON-stringifyable inputs.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | firefox | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | thunderbird | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2025-9287
- https://bugzilla.redhat.com/show_bug.cgi?id=2389932
- https://www.cve.org/CVERecord?id=CVE-2025-9287
- https://nvd.nist.gov/vuln/detail/CVE-2025-9287
- https://github.com/browserify/cipher-base/pull/23
- https://github.com/browserify/cipher-base/security/advisories/GHSA-cpq7-6gpm-g9rc