THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-cp25-j9x5-p5xm (medium) — Urwid: handle_short_request() crashes on non-ASCII POST body (UnicodeEncodeError DoS)

[GHSA] GHSA-cp25-j9x5-p5xm (medium) — Urwid: handle_short_request() crashes on non-ASCII POST body (UnicodeEncodeError DoS)

medgithub_advisoriesPublished 2026-11-09

GHSA-cp25-j9x5-p5xm Severity: medium CVE: CVE-2026-103022

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

### Summary The `handle_short_request()` function in `urwid/display/web.py` raises an unhandled `UnicodeEncodeError` when processing a POST request body containing non-ASCII bytes. The function reads POST input and encodes it to ASCII before writing to a

Indicators of compromise

Original source: https://github.com/advisories/GHSA-cp25-j9x5-p5xm