Intel

AIKIDO-2026-239243

dart_console is vulnerable to Denial of Service (DoS)

GHSA-855h-p3x9-fpqmPublished 4 days ago
November 16, 2026

43

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Synchronous Console.readKey calls can receive redirected input that has reached EOF. The read loop keeps retrying the EOF result and can consume CPU indefinitely. The fix returns Ctrl+D for redirected-input EOF while preserving Unix terminal timeout behavior.

How do I fix this?

Upgrade the dart_console library to the patch version.

Who does this affect?

You are affected if you use synchronous key reads with redirected input that can reach EOF.

Versions

0.0.1 - 5.1.1

Fixed in 5.1.2

Background info

dart_console is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 5.1.1.

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