cve.bz

CVE-2026-103022

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in urwid urwid. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in urwid 4.0.7.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-10. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-116 Improper Encoding or Escaping of Output
CWE-248 Uncaught Exception
CWE-775 Missing Release of File Descriptor or Handle after Effective Lifetime
OWASP Top 10
A05:2025 Injection, A10:2025 Mishandling of Exceptional Conditions
Published
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-103022 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-103022?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-103022?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-103022 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
urwid< 4.0.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cp25-j9x5-p5xmPyPIurwid<4.0.74.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13urwidno fix listedDEBIAN-CVE-2026-103022
Debian14urwid4.1.3-1DEBIAN-CVE-2026-103022
Ubuntu16.04:LTS, 22.04:LTS, 24.04:LTS and 4 moreurwidno fix listedUBUNTU-CVE-2026-103022

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON