CVE-2026-77332
memtomem-stm is a short-term memory proxy gateway with proactive memory surfacing for AI agents.
Impact
memtomem-stm is a short-term memory proxy gateway with proactive memory surfacing for AI agents. From 0.1.0 until 0.1.34, untrusted long-term and working-memory fields can introduce Markdown or HTML-compatible structure into the surfaced-memory envelope because those fields are not serialized as inert data. A crafted memory can create misleading structural boundaries or visually conceal surfaced content, affecting how a consuming agent interprets the memory context. Ordinary natural-language persuasion remains a residual model-level risk and is outside the structural serialization flaw. This issue is fixed in version 0.1.34.
An attacker can exploit this over the network, 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | memtomem-stm | >= 0.1.0, <= 0.1.33 | 0.1.34 |
Affected products · Memtomem
| Product | Affected versions |
|---|---|
| Memtomem-stm | from 0.1.0, before 0.1.34 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj
- https://github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390
- https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34
- https://github.com/advisories/GHSA-43hx-xm7w-3mhj
- https://nvd.nist.gov/vuln/detail/CVE-2026-77332