Intel

AIKIDO-2026-787185

urwid is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-q39v-c6jg-x6gj Published Today

31

Low Risk

This Affects:

PYTHONurwid
4.0.0 - 4.0.9
Fixed in 4.0.10
Are you affected? Scan for Free

TL;DR

The web display backend in urwid.display.web parses window resize commands from posted CGI input and unpacks their arguments into integers without validating them. A resize command with the wrong argument count or non-decimal dimensions raises an uncaught ValueError that crashes the input-processing path and terminates the active session. The fix validates the argument count and numeric format and treats malformed resize commands as ordinary input.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the urwid.display.web web display backend.

Background info

urwid is vulnerable to Denial of Service (DoS) in versions 4.0.0 - 4.0.9.

How to fix this

Upgrade the urwid library to the patch version.