ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-78661

No fix available CVE-2026-78661

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:14.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.6
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-golang-x-net-dev
All versions, no fix listed
Ubuntu:Pro:16.04:LTSjuju-core
All versions, no fix listed
Ubuntu:Pro:16.04:LTSlxd
All versions, no fix listed
Ubuntu:Pro:16.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:Pro:18.04:LTSlxd
All versions, no fix listed
Ubuntu:Pro:18.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.8
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.9
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-golang-x-net-dev
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:20.04:LTSadsys
All versions, no fix listed
Ubuntu:Pro:20.04:LTScontainerd
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.14
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgolang-golang-x-net-dev
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:20.04:LTSlxd
All versions, no fix listed
Ubuntu:22.04:LTSadsys
All versions, no fix listed
Ubuntu:22.04:LTScontainerd
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.17
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:22.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:22.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:22.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:22.04:LTSgolang-golang-x-net
All versions, no fix listed
Ubuntu:24.04:LTSadsys
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:24.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:24.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:24.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:24.04:LTSgolang-golang-x-net
All versions, no fix listed
Ubuntu:26.10adsys
All versions, no fix listed
Ubuntu:26.10containerd
All versions, no fix listed
Ubuntu:26.10golang-1.26
All versions, no fix listed
Ubuntu:26.10golang-1.27
All versions, no fix listed
Ubuntu:26.10golang-golang-x-net
All versions, no fix listed
Ubuntu:26.10google-guest-agent
All versions, no fix listed
Ubuntu:26.10google-osconfig-agent
All versions, no fix listed
Ubuntu:26.04:LTSadsys
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:26.04:LTSgolang-golang-x-net
All versions, no fix listed
Ubuntu:26.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:26.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:26.04:LTScontainerd
All versions, no fix listed

References