Use of Weak Hash Affecting claude-mem package, versions >=10.4.0 <12.0.0


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Weak Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CLAUDEMEM-17821195
  • published6 Jul 2026
  • disclosed5 Jun 2026
  • creditDem00

Introduced: 5 Jun 2026

CVE-2026-11330  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

Upgrade claude-mem to version 12.0.0 or higher.

Overview

claude-mem is a Memory compression system for Claude Code - persist context across sessions

Affected versions of this package are vulnerable to Use of Weak Hash via the computeObservationContentHash function in src/services/sqlite/observations/store.ts. An attacker can cause two different observation inputs to produce the same content hash by supplying values whose concatenated memorySessionId, title, and narrative fields form an ambiguous string. This can make distinct observations collide in the SQLite observations store, leading the application to treat different content as the same record. The impact is incorrect observation lookup or deduplication behavior for local users running the affected component.

CVSS Base Scores

version 4.0
version 3.1