Intel

AIKIDO-2025-10643

urwid is vulnerable to Buffer Overflow

Buffer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

20

Low Risk

This Affects:

PYTHONurwid
2.4.0 - 3.0.2
Fixed in 3.0.3

TL;DR

Affected versions of this package are vulnerable to a potential Buffer Overflow in the get_cols_rows function when retrieving terminal dimensions (columns and rows). Improper handling of the ioctl response may lead to Undefined Behavior or Denial of Service (DoS) if malformed or unexpected data is returned.

Who does this affect?

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

Background info

urwid is vulnerable to Buffer Overflow in versions 2.4.0 - 3.0.2.

How to fix this

Upgrade the urwid library to a patch version.