memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary
GHSA-43hx-xm7w-3mhj · CVE-2026-77332
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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
- WEB https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-43hx-xm7w-3mhj
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-77332
- WEB https://github.com/memtomem/memtomem-stm/commit/3d50ba61cbfafba6db261e35c18eed0c3805b390
- PACKAGE https://github.com/memtomem/memtomem-stm
- WEB https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34
Ready to move
Start Securing
Free, no credit card | First findings in minutes