memtomem/memtomem-stm · Security
memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary
- GHSA ID
- GHSA-43hx-xm7w-3mhj
- CVE ID
- CVE-2026-77332
- Severity
- low
- Published
- Updated
- CVSS v4
- 2.3 · 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
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.
CWEs
- CWE-116 · Improper Encoding or Escaping of Output
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/releases/tag/v0.1.34 ↗
- https://github.com/advisories/GHSA-43hx-xm7w-3mhj ↗