Bug 2567437 (CVE-2026-78661) - CVE-2026-78661 golang.org/x/net/html: golang.org/x/net/html: Denial of Service via crafted HTML input
Summary: CVE-2026-78661 golang.org/x/net/html: golang.org/x/net/html: Denial of Servic...
Keywords:
Status: NEW
Alias: CVE-2026-78661
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-05 21:57 UTC by OSIDB Bzimport
Modified: 2026-11-06 02:26 UTC (History)
143 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-05 21:57:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.