VulnerabilityCVE-2026-34831GHSA-q2ww-5357-x388WID-SEC-W-2026-1687:CVE-2026-34831
Rack: Content-Length mismatch in Rack::Files error responses
Not on CISA KEVCVSS 4.8 (v3.1)
Summary
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Files#fail sets the Content-Length response header using String#size instead of String#bytesize. When the response body contains multibyte UTF-8 characters, the declared Content-Length is smaller than
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
- Red Hat Source: Red Hat Security Data (CC BY 4.0)