workerd is vulnerable to Use after free
53
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
workerd is vulnerable to Use after free in versions 0.0.1 - 1.20260420.1.
Upgrade the workerd library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant