CVE-2026-77331: memtomem-stm: Concurrent LTM recovery can duplicate reconnects or reuse a cancelled transport session
Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-72jh-722p-rqr3
Summary
A concurrency race condition in memtomem-stm allows concurrent LTM recovery to duplicate reconnects or reuse cancelled transport sessions. Developers using the affected PyPI package version range should upgrade immediately.
Who is affected
Affected deployments are those utilizing memtomem-stm versions introduced at 0.1.2 up to the fix. The condition requires local access, high attack complexity, and specific interaction timing to trigger session duplication or protocol exchange interruption.
Exploitability
The vulnerability has a low CVSS 4.0 base score with local attack vector (AV:L), high attack complexity (AC:H), and required privileged access (PR:L). EPSS is not yet available and CISA KEV lists no active exploitation.
Remediation
- Upgrade PyPI package memtomem-stm to version 0.1.34 or later.
- Ensure applications implement the fixed monotonic session generations and generation-aware cancellation handling.
How to check your project
- Check project dependency files such as requirements.txt or pyproject.toml for the memtomem-stm package.
- Verify the installed version of memtomem-stm is within the affected range of introduced 0.1.2 and fixed in 0.1.34.
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.2, < 0.1.34 | 0.1.34 | python -m pip install 'memtomem-stm>=0.1.34' |
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L
| Attack vector | Local |
|---|---|
| Attack complexity | High |
| Attack requirements | Present |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | Low |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | Low |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability in memtomem-stm?
Concurrent surfacing RPC failures trigger multiple reconnects for the same dirty session, and cancellation during post-reconnect retries leaves replacement sessions reusable after an interrupted protocol exchange.
Is this vulnerability actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities indicates no active exploitation.
Which version fixes the issue?
Version 0.1.34 of the PyPI package memtomem-stm contains the private fix.
Original advisory description
References
- WEB https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-72jh-722p-rqr3
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-77331
- WEB https://github.com/memtomem/memtomem-stm/commit/761db1802df7ce4881ff4c3acee6d674925da498
- PACKAGE https://github.com/memtomem/memtomem-stm
- WEB https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34
Source records: GHSA-72jh-722p-rqr3 (OSV.dev) · EPSS by FIRST, 2026-11-26.