Intel

AIKIDO-2026-10559

workerd is vulnerable to Use after free

Use after free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 27, 2026

53

Medium Risk

This Affects:

JSworkerd
0.0.1 - 1.20260420.1
Fixed in 1.20260421.1
Are you affected? Scan for Free

TL;DR

The Web Streams BYOB path could call user-defined size logic in ways that let re-entrancy and bad readAtLeast bounds stress or break the implementation, and there was a gap where transforms could use controller state after a callback had already errored. Several hot paths used memcpy on regions that the standard allows to overlap, which is undefined behavior in C++ and can corrupt memory compared with memmove. The I/O ExternalPusher path could assume ordering in a way that was unsafe when messages arrived out of order, and the update restructures that flow. These changes harden the runtime that backs the versioned workerd npm distribution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

workerd is vulnerable to Use after free in versions 0.0.1 - 1.20260420.1.

How to fix this

Upgrade the workerd library to the patch version.