CVE-2026-78661
Mở trang đầy đủCVSS —
Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
Mô tả
When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as "a</x>") caused O(n^2) allocations and byte copies. Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse.
Điểm và phân loại
- CVSS
- Chưa có điểm CVSS
- EPSS
- —
- CWE
- —
Ảnh hưởng
| Package | Bản bị ảnh hưởng | Bản đã sửa |
|---|---|---|
go golang.org/x/net |
< 0.62.0 |
0.62.0
|
Sản phẩm
- golang.org/x/net golang.org/x/net/html
Vì sao bị lọc
- CVSS chưa có điểm < 8.0 và không thuộc CISA KEV
Loại tác động
Không nhận ra loại tác động nào từ CWE, vector hay mô tả.
Dữ liệu riêng của nguồn
- CVE.org · Đơn vị cấp mã
- Go
- OSV.dev · ID
- GO-2026-6860