GitHub Advisory Database
GHSA-72jh-722p-rqr3
memtomem-stm: Concurrent LTM recovery can duplicate reconnects or reuse a cancelled transport session
Details
Concurrent surfacing RPC failures can trigger more than one reconnect for the same dirty session, and cancellation during a post-reconnect retry can leave the replacement session reusable despite an interrupted protocol exchange. The private fix introduces monotonic session generations, one shielded shared reconnect flight per dirty generation, and generation-aware cancellation handling across search, access-count, and scratch RPCs. The duplicate-reconnect subcase was introduced in 0.1.24; cancellation recovery affects the broader listed range.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | memtomem-stm | From 0.1.2 before 0.1.34 (fixed in 0.1.34) |
References
- https://github.com/memtomem/memtomem-stm/security/advisories/GHSA-72jh-722p-rqr3
- https://nvd.nist.gov/vuln/detail/CVE-2026-77331
- https://github.com/memtomem/memtomem-stm/commit/761db1802df7ce4881ff4c3acee6d674925da498
- https://github.com/memtomem/memtomem-stm
- https://github.com/memtomem/memtomem-stm/releases/tag/v0.1.34