Intel

AIKIDO-2026-580161

io-event is vulnerable to Use After Free

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 19, 2026
October 19, 2026

55

CVE Score

Medium

Use After Free

Are you affected? Scan for Free

TL;DR

Cancelling io_wait or process_wait on io-event's URing selector submits a cancel SQE that still points at the in-flight completion, then io_wait_ensure or process_wait_ensure detaches the waiter before the original operation completion is observed. IO_Event_Selector_URing_Completion_cancellation_complete then recycles that record onto the free list because waiting is already null, so a new operation can reuse it. The stale completion writes the new waiter's result and can resume the wrong fiber, crashing the process or mixing up another wait. The fix records operation_pending and recycles the completion only after both the operation and cancellation completions have been processed.

How do I fix this?

Upgrade the io-event library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the process uses the URing selector (chosen when io_uring support was compiled in) and cancels io_wait or process_wait.

Package

Versions

1.20.0 - 1.21.0

Fixed in 1.21.1

Background info

io-event is vulnerable to Use After Free in versions 1.20.0 - 1.21.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea