CVE-2026-56860
Avoid quadratic complexity in resolvePath in net/url
Published Aug 13, 2026 · updated Oct 10, 2026
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocations.
Timeline
Detection, updates, and resolution for this record.
Aug 13, 2026 · Catalog
Detected
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocat
Oct 10, 2026 · Catalog
Fix available
Go stdlib 0 → 1.25.13
Oct 10, 2026 · Catalog
Updated
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocat
Affected
- Go stdlib0 → 1.25.13