Description
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.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- None
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-116 Improper Encoding or Escaping of Output
References
- github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj
- github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390
- github.com/memtomem/memtomem-stm/releases/tag/v0.1.34
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.