UBUNTU-CVE-2026-34827: High severity ubuntu/ruby-rack vulnerability

Published Apr 2, 2026
·
Updated

Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handlemimehead parses quoted multipart parameters such as Content-Disposition: form-data; name="..." using repeated String#index searches combined with String#slice! prefix deletion. For escape-heavy quoted values, this causes super-linear processing. An unauthenticated attacker can send a crafted multipart/form-data request containing many parts with long backslash-escaped parameter values to trigger excessive CPU usage during multipart parsing. This results in a denial of service condition in Rack applications that accept multipart form data. This issue has been patched in versions 3.1.21 and 3.2.6.

Affected Software

8 affected componentsFixes available
ubuntu/ruby-rack*
ubuntu/ruby-rack*
ubuntu/ruby-rack*
ubuntu/ruby-rack*
ubuntu/ruby-rack*
ubuntu/ruby-rack*
ubuntu/ruby-rack<3.1.16-0.1ubuntu0.3
3.1.16-0.1ubuntu0.3
ubuntu/ruby-rack*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-rack to a version that resolves this vulnerability.

    Fixed in 3.1.16-0.1ubuntu0.3
  2. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 3.1.21
  3. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 3.2.6

Event History

Apr 2, 2026
CVE Published
via OSV·06:16 PM
Data Sourced
via OSV·06:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are exposed to this denial of service?

Rack applications using affected Rack releases are exposed if they accept multipart/form-data requests. The issue affects Rack versions 3.0.0.beta1 through before 3.1.21, and 3.2.0 through before 3.2.6.

2

Does exploitation require authentication or user interaction?

No. An unauthenticated attacker can exploit the issue remotely by sending a crafted multipart/form-data request; no user interaction is required.

3

What does an exploit request need to contain?

The request needs many multipart parts with long quoted parameter values containing many backslash escapes. These values trigger super-linear CPU processing while Rack parses multipart headers.

4

What should be done to remediate the issue?

Update Rack to version 3.1.21 or later in the 3.1 series, or version 3.2.6 or later in the 3.2 series. These versions contain the patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203