[Webkit-unassigned] [Bug 287400] New: use-after-free in MarkupAccumulator::serializeNodesWithNamespaces
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 10 05:34:28 PST 2025
https://bugs.webkit.org/show_bug.cgi?id=287400
Bug ID: 287400
Summary: use-after-free in
MarkupAccumulator::serializeNodesWithNamespaces
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Critical
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: xc.o.c.1180 at gmail.com
CC: wenson_hsieh at apple.com
There are a few namespaceStack.append(namespaceStack.last()), namespaceStack is a Vector, last() returns a reference, if the Vector expands during appending, last() references freed memory.
For example, line 308
if (auto* child = firstChild(*current)) {
current = child;
namespaceStack.append(namespaceStack.last());
continue;
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20250210/8bc34783/attachment.htm>
More information about the webkit-unassigned
mailing list