CVE-2026-77332: memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary
Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-43hx-xm7w-3mhj
Summary
The memtomem-stm library is vulnerable to an injection flaw where untrusted memory data can break out of Markdown structural boundaries. Users of the package should upgrade to version 0.1.34 or later to implement strict serialization and input validation.
Who is affected
The vulnerability affects deployments using memtomem-stm versions 0.1.0 through 0.1.33. Attackers with low-level privileges can craft malicious memory payloads to alter the structural integrity of surfaced data, potentially misleading users or concealing content through manipulation of the Markdown envelope.
Exploitability
The vulnerability is rated as Low severity with a requirement for low-privilege access and a permissive attack complexity. There is no EPSS data available and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the memtomem-stm package to version 0.1.34 or higher.
- Verify that the application properly handles the new mandatory untrusted-data preamble introduced in the fix.
How to check your project
- Check requirements.txt or pyproject.toml files for dependencies on memtomem-stm versions prior to 0.1.34.
- Run 'pip show memtomem-stm' in the project environment to verify the currently installed version.
Automated analysis of the published advisory data, generated 2026-11-21. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | memtomem-stm |
>= 0.1.0, < 0.1.34 | 0.1.34 | python -m pip install 'memtomem-stm>=0.1.34' |
CVSS 4.0 vector
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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | Low |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
Does this vulnerability allow remote code execution?
No. The vulnerability is characterized as an injection issue related to Markdown structure and data surfacing, not code execution.
Is this vulnerability actively being exploited in the wild?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
What is the primary risk if I do not update?
An attacker could manipulate memory fields to force incorrect structural formatting in your output, leading to misleading information or hidden content.
Original advisory description
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
Source records: GHSA-43hx-xm7w-3mhj (OSV.dev) · EPSS by FIRST, 2026-11-26.