{"cve":"CVE-2026-33332","nvd":{"published":"2026-03-24T20:16:28.743","modified":"2026-06-17T10:37:20.137","status":"Analyzed","description":"NiceGUI is a Python-based UI framework. Prior to version 3.9.0, NiceGUI's app.add_media_file() and app.add_media_files() media routes accept a user-controlled query parameter that influences how files are read during streaming. The parameter is passed to the range-response implementation without validation, allowing an attacker to bypass chunked streaming and force the server to load entire files into memory at once. With large media files and concurrent requests, this can lead to excessive memory consumption, degraded performance, or denial of service. This issue has been patched in version 3.9.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-20","CWE-770"],"references":["https://github.com/zauberzeug/nicegui/commit/9026962b8c4f3f225c98b2fbc35aa6b60cb3495b","https://github.com/zauberzeug/nicegui/releases/tag/v3.9.0","https://github.com/zauberzeug/nicegui/security/advisories/GHSA-w5g8-5849-vj76"],"products":["zauberzeug:nicegui"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-33332","score":0.00622,"percentile":0.49846,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w5g8-5849-vj76","url":"https://osv.dev/vulnerability/GHSA-w5g8-5849-vj76","summary":"NiceGUI's unvalidated chunk size parameter in media routes can cause memory exhaustion","modified":"2026-07-13T07:26:20.109302617Z","packages":[{"ecosystem":"PyPI","name":"nicegui","purl":"pkg:pypi/nicegui","ranges":["<3.9.0"],"fixed":["3.9.0"]}]},{"id":"PYSEC-2026-2233","url":"https://osv.dev/vulnerability/PYSEC-2026-2233","summary":"","modified":"2026-07-13T07:15:38.606612706Z","packages":[{"ecosystem":"PyPI","name":"nicegui","purl":"pkg:pypi/nicegui","ranges":["<3.9.0"],"fixed":["3.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}