CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-9287
9.10.12%

Broken Base: How `cipher-base` Rewound the Crypto Stack

Amit Schendel
Amit Schendel
Senior Security Researcher

Jan 1, 2026·6 min read·43 visits

PoC Available

Executive Summary (TL;DR)

The `cipher-base` package, a dependency of widely used libraries like `crypto-browserify`, failed to correctly handle `TypedArray` inputs. This improper validation allows attackers to pass malicious data structures that "rewind" or corrupt the internal hash state, leading to potential signature forgeries and collision attacks in browser environments.

A critical flaw in the foundational `cipher-base` package allows attackers to manipulate cryptographic states and bypass integrity checks in browser-based applications.

Official Patches

NPMPatched version 1.0.5 release on NPM

Fix Analysis (1)

Technical Appendix

CVSS Score
9.1/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS Probability
0.12%
Top 100% most exploited

Affected Systems

crypto-browserifycreate-hashcreate-hmacBrowser-based cryptocurrency walletsFrontend JWT verification libraries

Affected Versions Detail

Product
Affected Versions
Fixed Version
cipher-base
crypto-browserify ecosystem
<= 1.0.41.0.5
AttributeDetail
CWE IDCWE-20 (Improper Input Validation)
CVSS9.1 (Critical)
Attack VectorNetwork / Local (Context Dependent)
ImpactIntegrity Violation / State Manipulation
Root CauseType Confusion in Buffer Handling
Fix Version1.0.5

MITRE ATT&CK Mapping

T1565.002Data Manipulation: Transmitted Data Manipulation
Impact
T1203Exploitation for Client Execution
Execution
CWE-20
Improper Input Validation

The product does not validate or incorrectly validates input that can affect the control flow or data flow of a program.

Known Exploits & Detection

GitHubDiscussion regarding TypedArray handling issues leading to state corruption.

Vulnerability Timeline

Vulnerability identified in input validation logic.
2025-01-10
Patch proposed in Pull Request #23.
2025-01-15
cipher-base v1.0.5 released.
2025-01-20

References & Sources

  • [1]PR #23: Fix TypedArray handling
  • [2]crypto-browserify Repository

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.