Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-103022

published medium CVSS 3.1 · 5.3

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

Published
06 Nov 2026, 21:33:37 UTC
Updated
11 Nov 2026, 03:39:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
urwid — urwid< 4.0.7 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Leap-16.0 python313-urwidnoarch Advisory build 2.6.16-bp160.2.1 OPENSUSE-SU-2026:22443-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
urwid urwid < 4.0.7 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)
  • CWE-248 CWE-248: Uncaught Exception (GitHub_M · cna)
  • CWE-775 CWE-775: Missing Release of File Descriptor or Handle after Effective Lifetime (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5c2e2e0b95e8aa6c0ee38d671472caa3971906be4708291bf9379dc861e7c3e2
Ingested
11 Nov 2026, 03:50:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected