Read the docs

memtomem-stm surfaced memory can escape Markdown compatibility boundary

Priority LOW 12CWE-116Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00451 31st percentileScored 2026-11-30
Fix Fixed memtomem-stm (memtomem): 0.1.34memtomem-stm (PyPI): 0.1.34

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

VendorProductAffected versionsFixed inStatusSource
memtomemmemtomem-stm0.1.0 to before 0.1.340.1.34Patch availableCNA
—memtomem-stm (PyPI)0.1.0 to before 0.1.340.1.34Patch availableGHSA-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

  1. 2026-11-20 Threatist record created from CVE-2026-77332
  2. 2026-11-21 Alias added: GHSA-43hx-xm7w-3mhj
  3. 2026-11-21 Fix available: PyPI/[email protected] · GHSA-43hx-xm7w-3mhj
  4. 2026-11-21 CVSS score added · GHSA-43hx-xm7w-3mhj
  5. 2026-11-21 Weakness changed · GHSA-43hx-xm7w-3mhj
  6. 2026-11-21 5 new references · GHSA-43hx-xm7w-3mhj
  7. 2026-11-22 EPSS moved to the 50th–90th percentile
  8. 2026-11-25 EPSS moved to the below the 50th percentile
  9. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-95937 Race condition in memtomem-stm causes duplicate reconnects CVSS 4.0LOW 2.0

Sources