{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.2.25"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.0"
                  },
                  {
                    "fixed": "3.1.23"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.2"
                  },
                  {
                    "fixed": "3.2.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "244e75a840cee0823f86d5d01dc374505a8abed8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "2eaa5b1026a03a43b6537b1a0b233707ba887702"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "c9b4698595050838342bd3b5a0fc9ab908065f8f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "40904de79e070fb048ec966e8e89b3c7b5569caf"
            },
            {
              "introduced": "52901caf09ebcda879512a8605059963a49df55d"
            },
            {
              "fixed": "7131b80d8fe612f7240e1d5a2e9f79157e1aba0e"
            },
            {
              "introduced": "b68251c03788ff39d4a4b25424df7360426e4afd"
            },
            {
              "fixed": "5f511d7d3d9d62becddcbd403dde813a67e10c81"
            },
            {
              "fixed": "244e75a840cee0823f86d5d01dc374505a8abed8"
            },
            {
              "fixed": "2eaa5b1026a03a43b6537b1a0b233707ba887702"
            },
            {
              "fixed": "c9b4698595050838342bd3b5a0fc9ab908065f8f"
            }
          ],
          "repo": "https://github.com/rack/rack",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5v64-555j-wjxm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125111.json"
  },
  "details": "Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.",
  "id": "CVE-2026-125111",
  "modified": "2026-11-14T02:30:41.025530446Z",
  "published": "2026-11-09T22:02:38.334Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125111.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125111"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8f"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Rack: Multipart parsing allows DoS via unbounded scan buffer growth"
}