# CVE-2026-77332: memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary

Status: published. Published: 2026-11-20. Updated: 2026-11-25.

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.

## Remediation

- fix: memtomem-stm (pip): GitHub reports patched versions 0.1.34. Check the advisory for the affected release branch. (source: GitHub GHSA-43hx-xm7w-3mhj) — https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj
- fix: memtomem-stm (PyPI): OSV reports a fixed version 0.1.34. Check the advisory for supported release branches. (source: OSV GHSA-43hx-xm7w-3mhj) — https://github.com/advisories/GHSA-43hx-xm7w-3mhj

## Affected products and versions

- memtomem / memtomem-stm: >= 0.1.0, < 0.1.34 (affected). Source: CNA: GitHub_M
-  / memtomem-stm (memtomem-stm): >= 0.1.0, <= 0.1.33 (affected, GitHub advisory range). Source: GitHub GHSA-43hx-xm7w-3mhj
-  / memtomem-stm (memtomem-stm): 0.1.0 (affected, PyPI); 0.1.1 (affected, PyPI); 0.1.10 (affected, PyPI); 0.1.11 (affected, PyPI); 0.1.12 (affected, PyPI); 0.1.13 (affected, PyPI); 0.1.14 (affected, PyPI); 0.1.15 (affected, PyPI); 0.1.16 (affected, PyPI); 0.1.17 (affected, PyPI); 0.1.18 (affected, PyPI); 0.1.19 (affected, PyPI); 0.1.2 (affected, PyPI); 0.1.20 (affected, PyPI); 0.1.21 (affected, PyPI); 0.1.22 (affected, PyPI); 0.1.23 (affected, PyPI); 0.1.24 (affected, PyPI); 0.1.25 (affected, PyPI); 0.1.26 (affected, PyPI); 0.1.27 (affected, PyPI); 0.1.28 (affected, PyPI); 0.1.29 (affected, PyPI); 0.1.3 (affected, PyPI); 0.1.30 (affected, PyPI); 0.1.31 (affected, PyPI); 0.1.32 (affected, PyPI); 0.1.33 (affected, PyPI); 0.1.4 (affected, PyPI); 0.1.5 (affected, PyPI); 0.1.6 (affected, PyPI); 0.1.7 (affected, PyPI); 0.1.8 (affected, PyPI); 0.1.9 (affected, PyPI); Ecosystem version events: introduced 0.1.0; fixed 0.1.34. Source: OSV GHSA-43hx-xm7w-3mhj

## Severity and prioritization

- CVSS 4.0: 2.3 (low); 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; source: CNA: GitHub_M

- CVSS 4.0: 2.3 (low); 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.68% as of 2026-11-24; percentile 53.31%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-116

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390 (security-advisories@github.com)

- https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34 (security-advisories@github.com)

- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj (security-advisories@github.com)

- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-43hx-xm7w-3mhj (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-43hx-xm7w-3mhj (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-77332; retrieved 2026-11-25; source updated 2026-11-25

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-77332; retrieved 2026-11-25; source updated 2026-11-25

- GitHub Security Advisories: https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj; retrieved 2026-11-25; source updated 2026-08-20

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-43hx-xm7w-3mhj; retrieved 2026-11-25; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-77332; retrieved 2026-11-25; source updated Not reported

Revision: 1fd9331f73af2e57702331b42025478104c7d93c5873339777593521a7c63e85

Canonical: https://y2.dev/cve/CVE-2026-77332

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.