ADVISORIES

Vulnerability

CVE-2026-103022

Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update socket output. A remote attacker who obtains a valid X-Urwid-ID session token can submit non-ASCII POST data that raises UnicodeEncodeError, while non-UTF-8 polling output raises UnicodeDecodeError, causing the CGI handler to return an error and terminate request processing. The POST exception path also leaves an opened file descriptor unclosed for the CGI process lifetime, so repeated requests can cause denial of service for the web display interface. This issue is fixed in version 4.0.7.

5 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • AZL-113110

    CVE-2026-103022 affecting package python-urwid 2.6.14-1

    CVE-2026-103022 Azure Linux Updated 24 November 2026
  • DEBIAN-CVE-2026-103022

    Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update…

    CVE-2026-103022 Debian Updated 13 November 2026
  • GHSA-cp25-j9x5-p5xm

    Urwid: handle_short_request() crashes on non-ASCII POST body (UnicodeEncodeError DoS)

    Moderate CVE-2026-103022 PyPI Updated 9 November 2026
  • SUSEVEX-CVE-2026-103022

    Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update…

    Moderate CVE-2026-103022 SUSE Updated 23 November 2026
  • UBUNTU-CVE-2026-103022

    Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update…

    CVE-2026-103022 Ubuntu Updated 24 November 2026

References