CVE-2026-62303
Last modified
CVE-2026-62303 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
Description
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 consecutive slash characters can recurse deeply enough to exhaust the stack and crash the process. `Router::route()`, `Router::addRoute()` and `Router::removeRoute()` reach this normalization. Unauthenticated remote exploitation is conditional on a deployment allowing sufficiently long request paths, such as by increasing `Endpoint::Options::maxRequestSize()` above the default 4096-byte limit or forwarding long paths through a front end. Direct router API use is also affected when attacker-controlled route or resource strings reach the normalizer. Native builds reproduced a crash around 24,000 consecutive slashes, although the exact threshold depends on the stack and standard library; the demonstrated failure is stack exhaustion rather than uninitialized-memory use. A source fix replaces recursive regular-expression normalization with an iterative pass, but no containing repository release was verified as of time of publication.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pistacheio | pistache | >= 0.0.5, <= 0.4.26 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62303?
How severe is CVE-2026-62303?
How do I fix CVE-2026-62303?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62298mouse07410/asn1c is an ASN.1 compiler. Prior to 1.2.5, `OPEN…0
- CVE-2026-62299CoreDNS is a DNS server written in Go. Prior to 1.14.5, the …5.3
- CVE-2026-6230The Tainacan plugin for WordPress is vulnerable to time-base…7.5
- CVE-2026-62300Filecoin Pin is an IPFS Pinning Service API implementation t…6.5
- CVE-2026-62301MyTube is a self-hosted downloader and player for several vi…7.1
- CVE-2026-62302MyTube is a self-hosted downloader and player for several vi…8.7
- CVE-2026-62308Tugtainer is a self-hosted app for automating updates of Doc…9.1
- CVE-2026-62309CoreDNS is a DNS server written in Go. Prior to 1.14.4, a si…7.5
- CVE-2026-6231The bson_validate function may return early on specific inpu…7.5
- CVE-2026-623129Router is an AI router & token saver. Prior to 0.5.2, 9Rout…8.8
- CVE-2026-62313Incus is a system container and virtual machine manager. Pri…4.3
- CVE-2026-62314Anubis is a Web AI Firewall Utility that challenges users' c…5.8
Are you affected by CVE-2026-62303?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
