NetSight
low2.0

CVE-2026-77331

memtomem-stm: Concurrent LTM recovery can duplicate reconnects or reuse a cancelled transport session

Impact

memtomem-stm is a short-term memory proxy gateway with proactive memory surfacing for AI agents. From 0.1.2 until 0.1.34, concurrent surfacing RPC failures can start more than one reconnect for the same dirty session because concurrent LTM recovery is not uniquely owned by a session generation. Cancellation during a post-reconnect retry can also leave the replacement transport reusable after an interrupted protocol exchange, causing session-state integrity loss or local service degradation. The duplicate-reconnect subcase was introduced in 0.1.24, while the cancellation-recovery subcase affects the broader listed range. This issue is fixed in version 0.1.34.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed, low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
pipmemtomem-stm>= 0.1.2, <= 0.1.330.1.34

Affected products · Memtomem

ProductAffected versions
Memtomem-stm
from 0.1.2, before 0.1.34

Weakness classification

References