MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-62303

Pistache: DoS via stack exhaustion in REST router path normalization (regex_replace on long slash runs)

Not on CISA KEVCVSS 5.9 (v3.1)
  • Overview

Summary

Pistache is a high-performance REST toolkit written in C++. From 0.0.5 through 0.4.26, `SegmentTreeNode::sanitizeResource()` in `src/server/router.cc` uses `std::regex_replace()` with the `//+` expression to collapse consecutive slashes. With libstdc++, a path containing tens of thousands of

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)