p PatchFirst

CVE-2026-34829

CVE-2026-34829 · Rack: Denial of Service via Unbounded Multipart File Upload Without Content-Length

CVSS 7.5 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • rackNo fix published
  • ruby-rack Debian 12Update to 2.2.22-0+deb12u2
  • ruby-rack Debian 13Update to 3.1.20-0+deb13u2
  • ruby-rack Debian 14Update to 3.2.6-2
  • and 8 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-rack"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser only wraps the request body in a BoundedIO when CONTENT_LENGTH is present. When a multipart/form-data request is sent without a Content-Length header, such as with HTTP chunked transfer encoding, multipart parsing continues until end-of-stream with no total size limit. For file parts, the uploaded body is written directly to a temporary file on disk rather than being constrained by the buffered in-memory upload limit. An unauthenticated attacker can therefore stream an arbitrarily large multipart file upload and consume unbounded disk space. This results in a denial of service condition for Rack applications that accept multipart form data. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

Published
Updated

Fixes in distributions

  • USN-8989-1 · Ubuntu 26.04 LTS ·
  • DSA-6492-1 · Debian 13 ·
  • openSUSE-SU-2026:21640-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:23321-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • DLA-4706-1 · Debian 11, Debian 12 ·
  • SUSE-SU-2026:2487-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Public Cloud 15 SP5, SUSE Linux Enterprise Module for Public Cloud 15 SP6, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • USN-8182-1 · Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS ·
  • openSUSE-SU-2026:10508-1 · openSUSE Tumbleweed ·

Stack: system · ruby

Affected products and versions

  • rack

    Versions
    • < 2.2.23: Affected
    • >= 3.0.0.beta1, < 3.1.21: Affected
    • >= 3.2.0, < 3.2.6: Affected

    No fix published

  • ruby-rack Debian 12

    Versions
    • 2.2.13-1~deb12u1
    • 2.2.20-0+deb12u1
    • 2.2.22-0+deb12u1
    • 2.2.6.4-1
    • 2.2.6.4-1+deb12u1
    • 2.2.7-1
    All versions (7)
    • 2.2.7-1.1
    Affected ranges
    • ECOSYSTEM: < 2.2.22-0+deb12u2

    Update to 2.2.22-0+deb12u2

  • ruby-rack Debian 13

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1~deb13u1
    • 3.1.20-0+deb13u1
    Affected ranges
    • ECOSYSTEM: < 3.1.20-0+deb13u2

    Update to 3.1.20-0+deb13u2

  • ruby-rack Debian 14

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1~deb13u1
    • 3.2.4-1
    • 3.2.5-1
    • 3.2.5-2
    All versions (7)
    • 3.2.6-1
    Affected ranges
    • ECOSYSTEM: < 3.2.6-2

    Update to 3.2.6-2

  • rack RubyGems

    Versions
    • 0.1.0
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.9.0
    • 0.9.1
    All versions (123)
    • 1.0.0
    • 1.0.1
    • 1.1.0
    • 1.1.1
    • 1.1.1.pre
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.1.6
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.2.3
    • 1.2.4
    • 1.2.5
    • 1.2.6
    • 1.2.7
    • 1.2.8
    • 1.3.0
    • 1.3.0.beta
    • 1.3.0.beta2
    • 1.3.1
    • 1.3.10
    • 1.3.2
    • 1.3.3
    • 1.3.4
    • 1.3.5
    • 1.3.6
    • 1.3.7
    • 1.3.8
    • 1.3.9
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.4.4
    • 1.4.5
    • 1.4.6
    • 1.4.7
    • 1.5.0
    • 1.5.0.beta.1
    • 1.5.0.beta.2
    • 1.5.1
    • 1.5.2
    • 1.5.3
    • 1.5.4
    • 1.5.5
    • 1.6.0
    • 1.6.0.beta
    • 1.6.0.beta2
    • 1.6.1
    • 1.6.10
    • 1.6.11
    • 1.6.12
    • 1.6.13
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.6.5
    • 1.6.6
    • 1.6.7
    • 1.6.8
    • 1.6.9
    • 2.0.0.alpha
    • 2.0.0.rc1
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 2.0.9.1
    • 2.0.9.2
    • 2.0.9.3
    • 2.0.9.4
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 2.1.4.1
    • 2.1.4.2
    • 2.1.4.3
    • 2.1.4.4
    • 2.2.0
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.2
    • 2.2.20
    • 2.2.21
    • 2.2.22
    • 2.2.3
    • 2.2.3.1
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.6.1
    • 2.2.6.2
    • 2.2.6.3
    • 2.2.6.4
    • 2.2.7
    • 2.2.8
    • 2.2.8.1
    • 2.2.9
    Affected ranges
    • ECOSYSTEM: < 2.2.23

    Update to 2.2.23

  • rack RubyGems

    Versions
    • 3.0.0
    • 3.0.0.beta1
    • 3.0.0.rc1
    • 3.0.1
    • 3.0.10
    • 3.0.11
    All versions (46)
    • 3.0.12
    • 3.0.13
    • 3.0.14
    • 3.0.15
    • 3.0.16
    • 3.0.17
    • 3.0.18
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.4.1
    • 3.0.4.2
    • 3.0.5
    • 3.0.6
    • 3.0.6.1
    • 3.0.7
    • 3.0.8
    • 3.0.9
    • 3.0.9.1
    • 3.1.0
    • 3.1.1
    • 3.1.10
    • 3.1.11
    • 3.1.12
    • 3.1.13
    • 3.1.14
    • 3.1.15
    • 3.1.16
    • 3.1.17
    • 3.1.18
    • 3.1.19
    • 3.1.2
    • 3.1.20
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.6
    • 3.1.7
    • 3.1.8
    • 3.1.9
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0.beta1, < 3.1.21

    Update to 3.1.21

  • rack RubyGems

    Versions
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    Affected ranges
    • ECOSYSTEM: ≥ 3.2.0, < 3.2.6

    Update to 3.2.6

  • ruby-rack Ubuntu Pro 14.04 LTS

    Versions
    • 1.5.2-1
    • 1.5.2-1ubuntu0.1~esm1
    • 1.5.2-3+deb8u3ubuntu1~esm2
    • 1.5.2-3+deb8u3ubuntu1~esm3
    • 1.5.2-3+deb8u3ubuntu1~esm4
    • 1.5.2-3+deb8u3ubuntu1~esm6
    All versions (11)
    • 1.5.2-3+deb8u3ubuntu1~esm7
    • 1.5.2-3+deb8u3ubuntu1~esm8
    • 1.5.2-3+deb8u3ubuntu1~esm9
    • 1.5.2-3+deb8u3ubuntu1~esm10
    • 1.5.2-3+deb8u3ubuntu1~esm11
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-rack Ubuntu Pro 16.04 LTS

    Versions
    • 1.5.2-4
    • 1.6.4-2
    • 1.6.4-3
    • 1.6.4-3ubuntu0.1
    • 1.6.4-3ubuntu0.2
    • 1.6.4-3ubuntu0.2+esm1
    All versions (14)
    • 1.6.4-3ubuntu0.2+esm2
    • 1.6.4-3ubuntu0.2+esm4
    • 1.6.4-3ubuntu0.2+esm5
    • 1.6.4-3ubuntu0.2+esm6
    • 1.6.4-3ubuntu0.2+esm7
    • 1.6.4-3ubuntu0.2+esm8
    • 1.6.4-3ubuntu0.2+esm9
    • 1.6.4-3ubuntu0.2+esm10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-rack Ubuntu Pro 18.04 LTS

    Versions
    • 1.6.4-4
    • 1.6.4-4ubuntu0.1
    • 1.6.4-4ubuntu0.2
    • 1.6.4-4ubuntu0.2+esm1
    • 1.6.4-4ubuntu0.2+esm2
    • 1.6.4-4ubuntu0.2+esm4
    All versions (12)
    • 1.6.4-4ubuntu0.2+esm5
    • 1.6.4-4ubuntu0.2+esm6
    • 1.6.4-4ubuntu0.2+esm7
    • 1.6.4-4ubuntu0.2+esm8
    • 1.6.4-4ubuntu0.2+esm9
    • 1.6.4-4ubuntu0.2+esm10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-rack Ubuntu Pro 22.04 LTS

    Versions
    • 2.1.4-3
    • 2.1.4-4
    • 2.1.4-5
    • 2.1.4-5ubuntu1
    • 2.1.4-5ubuntu1+esm2
    • 2.1.4-5ubuntu1+esm3
    All versions (14)
    • 2.1.4-5ubuntu1+esm4
    • 2.1.4-5ubuntu1+esm5
    • 2.1.4-5ubuntu1.1
    • 2.1.4-5ubuntu1.1+esm1
    • 2.1.4-5ubuntu1.1+esm2
    • 2.1.4-5ubuntu1.2
    • 2.1.4-5ubuntu1.2+esm1
    • 2.1.4-5ubuntu1.2+esm2
    Affected ranges
    • ECOSYSTEM: < 2.1.4-5ubuntu1.2+esm3

    Update to 2.1.4-5ubuntu1.2+esm3

  • ruby-rack Ubuntu 24.04 LTS

    Versions
    • 2.2.4-3
    • 2.2.7-1
    • 2.2.7-1ubuntu0.1
    • 2.2.7-1ubuntu0.2
    • 2.2.7-1ubuntu0.3
    • 2.2.7-1ubuntu0.4
    All versions (8)
    • 2.2.7-1ubuntu0.5
    • 2.2.7-1ubuntu0.6
    Affected ranges
    • ECOSYSTEM: < 2.2.7-1ubuntu0.7

    Update to 2.2.7-1ubuntu0.7

  • ruby-rack Ubuntu 25.10

    Versions
    • 2.2.7-1.1
    • 3.1.16-0.1
    • 3.1.16-0.1ubuntu0.1
    • 3.1.16-0.1ubuntu0.2
    Affected ranges
    • ECOSYSTEM: < 3.1.16-0.1ubuntu0.3

    Update to 3.1.16-0.1ubuntu0.3

  • ruby-rack Ubuntu 26.04 LTS

    Versions
    • 3.1.16-0.1
    • 3.1.18-1
    • 3.1.18-1build1
    • 3.2.4-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 3.2.4-1ubuntu1.1

    Update to 3.2.4-1ubuntu1.1

Original sources

Check your server →