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

- **Severity:** LOW 2.3
- **CVSS:** 2.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-28)
- **CWE:** CWE-116
- **Aliases:** GHSA-43hx-xm7w-3mhj
- **Published:** 2026-11-20T16:55:16.230Z
- **Modified:** 2026-11-25T05:18:38.650Z

## Who should check

- Projects that depend on PyPI package memtomem-stm (\>= 0.1.0, \<= 0.1.33)
- Anyone running memtomem-stm \>= 0.1.0, \< 0.1.34

## 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 and fixed versions

- PyPI `memtomem-stm`: affected \>= 0.1.0, \<= 0.1.33; fixed 0.1.34 (ghsa)
- memtomem-stm: \>= 0.1.0, \< 0.1.34 (cvelist)

## Technologies

PyPI packages

## Mitigation

- Upgrade memtomem-stm to 0.1.34 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77332. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77332.md
Affected: memtomem-stm >= 0.1.0, <= 0.1.33
Fixed in: 0.1.34

Steps:
1. Search this machine and project for memtomem-stm (PyPI), memtomem-stm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77332 being exploited?

There is no confirmed exploitation: CVE-2026-77332 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-77332?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-77332?

memtomem-stm \>= 0.1.0, \<= 0.1.33.

### Is there a fix for CVE-2026-77332?

Yes. Fixed in 0.1.34. Upgrade memtomem-stm to 0.1.34 or later.

### How do I check if I'm affected by CVE-2026-77332?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77332>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-43hx-xm7w-3mhj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-77332> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77332>
