# GHSA-43HX-XM7W-3MHJ: memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary

- Database: GitHub
- Severity: low (stated by ghsa, no CVSS score)
- Published: 2026-11-20
- Modified: 2026-11-20

## Tracked as

- [CVE-2026-77332](https://cve.now/CVE-2026-77332.md): memtomem-stm unescaped memory fields inject Markdown into agent context

## Affected versions

- memtomem-stm (PyPI): from 0.1.0, fixed in 0.1.34

## Description

Untrusted long-term and working-memory fields can introduce Markdown or HTML-compatible structure into the surfaced-memory envelope. A crafted memory may create misleading structural boundaries or visually conceal content. The private fix serializes every untrusted field as inert single-line data, validates copyable memory identifiers, and pins an explicit untrusted-data preamble. Ordinary natural-language persuasion remains a residual model-level risk.

## References

- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj
- https://nvd.nist.gov/vuln/detail/CVE-2026-77332
- https://github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390
- https://github.com/memtomem/memtomem-stm
- https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34

Page: https://cve.now/GHSA-43HX-XM7W-3MHJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
