cve.bz

CVE-2026-56860

5.9 mediumEPSS 0.5%

Medium (5.9). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in stdlib 1.25.13, 1.26.6, 1.27.0-rc.3.

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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 46% of CVEs (scores of 2026-10-31)
CWE
CWE-407
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-6218Gostdlib<1.25.13
>=1.26.0-0 <1.26.6
>=1.27.0-0 <1.27.0-rc.3
1.25.13, 1.26.6, 1.27.0-rc.3

References

Check your stackJSON