Use-after-free in the built-in browser from web page styles and scripts
KSA-2026-0006
- Status
- Resolved
- Severity
- High
- Affected versions
- No released version (development code from before 0.2.0)
- Fixed in
- 0.2.0
- Published
- 2026-11-02
- Updated
- 2026-11-02
Summary
The browser engine freed CSS custom properties that belonged to parent elements, and read page elements after freeing them when a page with script-created nodes was closed. A web page could use this to crash the system and possibly corrupt kernel memory.
Each style now frees only the properties it created, and page teardown no longer reads freed elements. This was found and fixed before the first public release.
Credit
Brent Gordon