Description

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.

Weaknesses

  • — CWE-407: Inefficient Algorithmic Complexity

Affected products

VendorProductVersions
Go standard librarynet/url0 to <1.25.13; 1.26.0-0 to <1.26.6; 1.27.0-0 to <1.27.0-rc.3

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 14 Aug 2026 07:02 UTC.