CVE-2026-56860: Avoid quadratic complexity in resolvePath in net/url

Published Aug 13, 2026
·
Updated

Avoid quadratic complexity in resolvePath in net/url

Other sources

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.

— MITRE

Affected Software

1 affected component
net/url

Event History

Aug 13, 2026
CVE Published
via MITRE·09:58 PM
Data Sourced
via MITRE·09:58 PM
DescriptionWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:20 PM
DescriptionSeverityAffected Software
Aug 21, 2026
Data Sourced
via Microsoft·05:01 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56860?

CVE-2026-56860 has been assigned a risk score of 12, indicating a critical level of severity.

2

How do I fix CVE-2026-56860?

To fix CVE-2026-56860, update to the latest version of the affected software where the issue is resolved.

3

What does CVE-2026-56860 affect?

CVE-2026-56860 affects the path resolution mechanisms in the net/url package, impacting how relative paths are processed.

4

What is the potential impact of CVE-2026-56860?

The potential impact of CVE-2026-56860 includes increased memory usage and slower performance due to quadratic time complexity in path resolution.

5

When was CVE-2026-56860 published?

CVE-2026-56860 was published on August 13, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203