StraitOfVuln
Latest / CVE-2026-103022

CVE-2026-103022

MediumCVSS 5.3 (v3.1)Deferred
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-103022
Published / updated
06 Nov 2026, 22:17 UTC · last modified 12 Nov 2026, 22:11 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · Attack vector: Network
Affected vendor
urwid
Affected products
urwid
Affected versions
urwid: < 4.0.7
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.58% probability of exploitation in the next 30 days · 49% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com