{"id":"CVE-2026-42545","published":"2026-05-12T21:51:47Z","modified":"2026-05-14T12:35:27Z","title":"Granian: DoS via WSGI response header panic","vendor":"emmett-framework","product":"granian","tier":"tail","description":{"text":"Granian is a Rust HTTP server for Python applications. From 0.2.0 to 2.7.4, Granian aborts a worker process if a WSGI application returns an invalid HTTP response header name or value. The WSGI response conversion path uses .unwrap() on both the header name and header value constructors, so malformed output from the application becomes a process abort instead of a handled error. This vulnerability is fixed in 2.7.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0027,"percentile":0.19708,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":3.94},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"emmett-framework","affectedVersions":[{"vendor":"emmett-framework","product":"granian","versions":[">= 0.2.0, < 2.7.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T12:35:15.328399Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"granian","vulnerableRanges":[">=0.2.0, <2.7.4"],"patched":["2.7.4"],"from":["GHSA-f5p7-9fr5-8jmj","PYSEC-2026-2502"],"provenance":"source"}],"summary":{"text":"Granider is not the product name here: the flaw lives in Granian, a Rust HTTP server for Python applications, in its WSGI response conversion path, where unwrap() calls on header name and value constructors turn malformed header output into a process abort. An attacker who can get a WSGI application served by Granian to return an invalid response header name or value can crash the worker process, causing denial of service, and this requires only network access to the application with no authentication or user interaction, though it depends on the application producing the malformed header.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:23Z"},"euvd":{"id":"EUVD-2026-29856","exploited":false,"provenance":"source"}}