{"schemaVersion":3,"id":"CVE-2025-54572","aliases":["UBUNTU-CVE-2025-54572","DEBIAN-CVE-2025-54572","DLA-4288-1","CGA-564j-j3gg-xjfm","CGA-86jh-23gp-vfhr","CGA-95v5-3vx3-4w68","GHSA-rrqh-93c8-j966","CGA-qx88-p2vw-h833","CGA-vh93-hv9h-9h3h","CGA-vj3q-cpm9-wg7h"],"status":"published","duplicateOf":null,"title":null,"description":"The Ruby SAML library is for implementing the client side of a SAML authorization. In versions 1.18.0 and below, a denial-of-service vulnerability exists in ruby-saml even with the message_max_bytesize setting configured. The vulnerability occurs because the SAML response is validated for Base64 format prior to checking the message size, leading to potential resource exhaustion. This is fixed in version 1.18.1.","dates":{"published":"2025-07-30T14:05:43.820Z","modified":"2025-11-03T18:13:37.284Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00428,"percentile":0.35696,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.04099999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":0.35696}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":0.35696}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"gitlab-rails-ce-18.3","name":"gitlab-rails-ce-18.3","label":"gitlab-rails-ce-18.3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-18.3","purlType":"apk","versions":[{"text":"< 18.3.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.3.2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-assets-18.3","name":"gitlab-rails-ce-assets-18.3","label":"gitlab-rails-ce-assets-18.3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-assets-18.3","purlType":"apk","versions":[{"text":"< 18.3.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.3.2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-doc-18.3","name":"gitlab-rails-ce-doc-18.3","label":"gitlab-rails-ce-doc-18.3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-doc-18.3","purlType":"apk","versions":[{"text":"< 18.3.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.3.2-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-saml","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.11.0-1+deb11u3","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.11.0-1+deb11u3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-saml","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/ruby-saml","purlType":"gem","versions":[{"text":"< 1.18.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.1","eol":null,"hubHref":null},{"vendor":"saml-toolkits","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.18.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.1","eol":null,"hubHref":"/vendor/saml-toolkits/ruby-saml"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966","label":"github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/pull/770","label":"github.com/SAML-Toolkits/ruby-saml/pull/770","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709","label":"github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1","label":"github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00001.html","label":"lists.debian.org/debian-lts-announce/2025/09/msg00001.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-54572","label":"ubuntu.com/security/CVE-2025-54572","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-54572","label":"www.cve.org/CVERecord?id=CVE-2025-54572","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-54572","label":"security-tracker.debian.org/tracker/CVE-2025-54572","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54572.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54572.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54572","label":"nvd.nist.gov/vuln/detail/CVE-2025-54572","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","label":"github.com/SAML-Toolkits/ruby-saml","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2P6W-4JH6-W67Q","CGA-6MHR-77C8-PQ4W"]},"timeline":[{"kind":"published","date":"2025-07-30T14:05:43.820Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T18:13:37.284Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:19:36.524Z","stale":false,"partial":false}}