CVE-2026-9323
published critical CVSS 4.0 · 9.2Insecure PRNG and Information Exposure in urwid Web Display Backend
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| urwid | — | urwid0 to < 5.1.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3858 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2049 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | urwid | Advisory build | 2.1.2-4+deb12u1 | DLA-4780-1 |
| Ubuntu | bionic | urwid | Advisory build | 2.0.1-2ubuntu0.1~esm1 | USN-8751-1 |
| AlmaLinux | 10 | python3-urwid | Advisory build | 2.5.3-4.el10_2.5 | ALSA-2026:58561 |
| Oracle Linux | 10 | python3-urwidaarch64 | Advisory build | 0:2.5.3-4.el10_2.5 | ELSA-2026-58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwidsrc | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | urwid | Advisory build | 2.0.1-3ubuntu0.1~esm1 | USN-8751-1 |
| Ubuntu | jammy | urwid | Advisory build | 2.1.2-2ubuntu0.1 | USN-8751-1 |
| Ubuntu | noble | urwid | Advisory build | 2.6.10-1ubuntu0.1 | USN-8751-2 |
| Ubuntu | resolute | urwid | Advisory build | 3.0.4-1ubuntu0.1~esm1 | USN-8751-1 |
| Ubuntu | stonking | urwid | Advisory build | 3.0.4-1ubuntu0.26.10.1 | USN-8751-2 |
| Ubuntu | xenial | urwid | Advisory build | 1.3.1-2ubuntu0.1~esm2 | USN-8751-2 |
| AlmaLinux | 10 | python3-urwid | Advisory build | 2.5.3-4.el10_3.5 | ALSA-2026:104683 |
| AlmaLinux | 8 | python3-urwid | Advisory build | 1.3.1-5.el8_10 | ALSA-2026:58562 |
| AlmaLinux | 9 | python3-urwid | Advisory build | 2.1.2-4.el9_8.1 | ALSA-2026:58952 |
| AlmaLinux | 9 | python3-urwid | Advisory build | 2.1.2-6.el9_9 | ALSA-2026:104682 |
| Oracle Linux | 10 | python3-urwidaarch64 | Advisory build | 0:2.5.3-4.el10_3.5 | ELSA-2026-104683 |
| Oracle Linux | 10 | python3-urwidx86_64 | Advisory build | 0:2.5.3-4.el10_2.5 | ELSA-2026-58561 |
| Oracle Linux | 10 | python3-urwidx86_64 | Advisory build | 0:2.5.3-4.el10_3.5 | ELSA-2026-104683 |
| Oracle Linux | 8 | python3-urwidaarch64 | Advisory build | 0:1.3.1-5.el8_10 | ELSA-2026-58562 |
| Oracle Linux | 8 | python3-urwidx86_64 | Advisory build | 0:1.3.1-5.el8_10 | ELSA-2026-58562 |
| Oracle Linux | 9 | python3-urwidaarch64 | Advisory build | 0:2.1.2-4.el9_8.1 | ELSA-2026-58952 |
| Oracle Linux | 9 | python3-urwidaarch64 | Advisory build | 0:2.1.2-6.0.1.el9_9 | ELSA-2026-104682 |
| Oracle Linux | 9 | python3-urwidx86_64 | Advisory build | 0:2.1.2-4.el9_8.1 | ELSA-2026-58952 |
| Oracle Linux | 9 | python3-urwidx86_64 | Advisory build | 0:2.1.2-6.0.1.el9_9 | ELSA-2026-104682 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwidsrc | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwidsrc | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceaarch64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceaarch64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceaarch64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceppc64le | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceppc64le | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourceppc64le | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsources390x | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsources390x | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsources390x | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourcex86_64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourcex86_64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python-urwid-debugsourcex86_64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidaarch64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidaarch64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidaarch64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidppc64le | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidppc64le | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidppc64le | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwids390x | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwids390x | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwids390x | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidx86_64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidx86_64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwidx86_64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoaarch64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoaarch64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoaarch64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoppc64le | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoppc64le | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfoppc64le | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfos390x | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfos390x | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfos390x | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfox86_64 | Advisory build | 2.5.3-4.el10_0.5 | RHSA-2026:60353 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfox86_64 | Advisory build | 2.5.3-4.el10_2.5 | RHSA-2026:58561 |
| Red Hat Enterprise Linux | RHEL-10 | python3-urwid-debuginfox86_64 | Advisory build | 2.5.3-4.el10_3.5 | RHSA-2026:104683 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwidsrc | Advisory build | 1.3.1-4.el8_4.1 | RHSA-2026:57638 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwidsrc | Advisory build | 1.3.1-4.el8_6.1 | RHSA-2026:59198 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwidsrc | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwidsrc | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourceaarch64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourceppc64le | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourceppc64le | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsources390x | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourcex86_64 | Advisory build | 1.3.1-4.el8_4.1 | RHSA-2026:57638 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourcex86_64 | Advisory build | 1.3.1-4.el8_6.1 | RHSA-2026:59198 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourcex86_64 | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python-urwid-debugsourcex86_64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidaarch64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidppc64le | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidppc64le | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwids390x | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidx86_64 | Advisory build | 1.3.1-4.el8_4.1 | RHSA-2026:57638 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidx86_64 | Advisory build | 1.3.1-4.el8_6.1 | RHSA-2026:59198 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidx86_64 | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwidx86_64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfoaarch64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfoppc64le | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfoppc64le | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfos390x | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfox86_64 | Advisory build | 1.3.1-4.el8_4.1 | RHSA-2026:57638 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfox86_64 | Advisory build | 1.3.1-4.el8_6.1 | RHSA-2026:59198 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfox86_64 | Advisory build | 1.3.1-4.el8_8.1 | RHSA-2026:57637 |
| Red Hat Enterprise Linux | RHEL-8 | python3-urwid-debuginfox86_64 | Advisory build | 1.3.1-5.el8_10 | RHSA-2026:58562 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwidsrc | Advisory build | 2.1.2-4.el9_2.1 | RHSA-2026:58954 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwidsrc | Advisory build | 2.1.2-4.el9_4.1 | RHSA-2026:58953 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwidsrc | Advisory build | 2.1.2-4.el9_6.1 | RHSA-2026:58955 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwidsrc | Advisory build | 2.1.2-4.el9_8.1 | RHSA-2026:58952 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwidsrc | Advisory build | 2.1.2-6.el9_9 | RHSA-2026:104682 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwid-debugsourceaarch64 | Advisory build | 2.1.2-4.el9_2.1 | RHSA-2026:58954 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwid-debugsourceaarch64 | Advisory build | 2.1.2-4.el9_4.1 | RHSA-2026:58953 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwid-debugsourceaarch64 | Advisory build | 2.1.2-4.el9_6.1 | RHSA-2026:58955 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwid-debugsourceaarch64 | Advisory build | 2.1.2-4.el9_8.1 | RHSA-2026:58952 |
| Red Hat Enterprise Linux | RHEL-9 | python-urwid-debugsourceaarch64 | Advisory build | 2.1.2-6.el9_9 | RHSA-2026:104682 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The urwid web display backend (urwid/display/web.py) generates web session identifiers (urwid_id) in Screen.start() by concatenating two random.randrange(10**9) calls that use Python's Mersenne Twister PRNG, which is not cryptographically secure. Each call consumes approximately 30 bits of PRNG state, and the Mersenne Twister internal state is approximately 19,937 bits, so an attacker who observes approximately 334 session IDs (for example via the X-Urwid-ID HTTP response header) can fully reconstruct the internal state and predict all past and future session IDs (Path B). The same identifier is also used as the filename of a FIFO created in the world-listable /tmp directory (for example /tmp/urwid375487765176907690.in), so any local user on the host can list /tmp to enumerate active session tokens directly (Path A). With a valid session ID, an attacker can read the victim's terminal screen via the polling endpoint, inject keystrokes into the victim's session (yielding OS-level code execution with the session owner's privileges if the session runs a shell), and inject exit sequences or flood the FIFO to terminate or crash the session. A prior Bandit S311 warning on this usage was suppressed with # noqa: S311 rather than fixed
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| urwid | urwid | 0 to < 5.1.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
8- Product https://github.com/urwid/urwid
- Patch Commit https://github.com/urwid/urwid/commit/24acd12f0d0598036d0d577f2ee63e4a27b4a3d9
- GitHub Issue https://github.com/urwid/urwid/issues/1127
- Pull Request https://github.com/urwid/urwid/pull/1128
- GitHub Security Advisory (GHSA-rjwp-g85x-gmjv) https://github.com/urwid/urwid/security/advisories/GHSA-rjwp-g85x-gmjv
- GitHub Security Advisory (GHSA-xm5p-pwm6-5w65) https://github.com/urwid/urwid/security/advisories/GHSA-xm5p-pwm6-5w65
- https://lists.debian.org/debian-lts-announce/2026/09/msg00015.html
- https://www.vulncheck.com/advisories/insecure-prng-and-information-exposure-in-urwid-web-display-backend
Provider assertions
3VulnCheck · cna
Insecure PRNG and Information Exposure in urwid Web Display Backend
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7a8c03514c9a75a310f9f9f4098bf2ac0d10fdfb6209870dbff8555c41224e75
- Ingested
- 20 Nov 2026, 14:32:32 UTC
- Source record
- Official CVE record