Race conditionin the memtomem-stm package.
Proof of concept public (GitHub).
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.
- Upgrade memtomem-stm to 0.1.34 or later.
- Upgrade memtomem-stm (PyPI) to 0.1.34 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 20 Aug 2026CVE ID reserved by GitHub_M.
- 20 Nov 2026Published in the CVE List.
- 20 Nov 2026CVE record last updated.
- 24 Nov 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
Same weakness: Race condition
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2026-77331: Race condition in the memtomem-stm package. https://patchminder.com/cve/cve-2026-77331/ (accessed 5 December 2026).