memtomem-stm surfaced memory can escape Markdown compatibility boundary
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
memtomem-stm from 0.1.0 before 0.1.34 does not serialize untrusted long-term and working-memory fields as inert data in its surfaced-memory envelope. A crafted memory can introduce Markdown or HTML-compatible structure (CWE-116) that creates misleading boundaries or visually conceals surfaced content, changing how a consuming agent interprets the memory context. Exploiting it requires low-privileged access and user interaction is not needed, and the flaw has no integrity impact beyond altering that context. Ordinary natural-language persuasion is a separate model-level risk outside this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| memtomem | memtomem-stm | 0.1.0 to before 0.1.34 | 0.1.34 | Patch available | CNA |
| — | memtomem-stm (PyPI) | 0.1.0 to before 0.1.34 | 0.1.34 | Patch available | GHSA-43hx-xm7w-3mhj |
- memtomem-stm Vendormemtomem Affected 0.1.0 to before 0.1.34 Fixed in 0.1.34 Patch available CNA
- memtomem-stm (PyPI) Vendor— Affected 0.1.0 to before 0.1.34 Fixed in 0.1.34 Patch available GHSA-43hx-xm7w-3mhj
Remediation
Upgrade memtomem-stm to version 0.1.34, which fixes the issue in both the memtomem and PyPI packages.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA memtomem-stm (memtomem) Fixed in 0.1.34
- Fix · GHSA-43hx-xm7w-3mhj memtomem-stm (PyPI) Fixed in 0.1.34 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-77332
- 2026-11-21 Alias added: GHSA-43hx-xm7w-3mhj
- 2026-11-21 Fix available: PyPI/[email protected] · GHSA-43hx-xm7w-3mhj
- 2026-11-21 CVSS score added · GHSA-43hx-xm7w-3mhj
- 2026-11-21 Weakness changed · GHSA-43hx-xm7w-3mhj
- 2026-11-21 5 new references · GHSA-43hx-xm7w-3mhj
- 2026-11-22 EPSS moved to the 50th–90th percentile
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-25 CISA SSVC decision points changed
References
More memtomem vulnerabilities
- TI-2026-95937 Race condition in memtomem-stm causes duplicate reconnects CVSS 4.0LOW 2.0
Sources
- CVE-2026-77332 · CVE Program
- CVE-2026-77332 · NVD
- FIRST EPSS
- GHSA-43hx-xm7w-3mhj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences