CVE-2025-58767: ruby-lang rexml Uncontrolled Resource Consumption
CVSS: 5.3v3.1MediumAnalyzed
AliasesALPINE-CVE-2025-58767RHSA-2025:23140UBUNTU-CVE-2025-58767DEBIAN-CVE-2025-58767CGA-246w-3pjh-rr7wCGA-42q4-fgqp-85cmCGA-43cc-pxp7-cc4gCGA-64wf-wxx3-4wcmCGA-8h23-56f6-w46wCGA-8hfv-m7c3-54vgCGA-8vq7-cj34-mp9jCGA-ch52-hcjx-jj93CGA-f8r3-m574-47crCGA-gr98-3wf4-hr9gCGA-j568-3v2h-v7p6CGA-v43q-66hv-8wh3CGA-w972-gjr8-c82rCGA-x96j-72qw-73xhopenSUSE-SU-2025:15828-1CGA-24w5-96m3-g69pCGA-2p6q-wpwf-jww6CGA-346m-fcr2-7prhCGA-3575-xwjp-74mhCGA-39m8-8m5g-63j8CGA-3f2f-h964-g6m7CGA-3jm7-fr3p-955cCGA-3v58-cx43-5g6qCGA-3w24-c564-m3rvCGA-3w2p-3wxm-fhwfCGA-46gf-39rm-8r2xCGA-4875-v4qr-46qpCGA-4crf-jvpj-rc5qCGA-4h9f-j9vg-f57gCGA-4mqv-jx9w-j4j5CGA-4v9g-p5wq-v26mCGA-4wxm-c755-rfwfCGA-54w5-cr5x-mmmgCGA-566j-prpp-m4cmCGA-59vp-m46f-vvq3CGA-5fcj-cx83-x7jpCGA-5p4j-32gp-wjhfCGA-5w8w-92j2-9c5wCGA-5xxv-57cg-cmxvCGA-68fj-3jxj-j82wCGA-6fw7-gf2x-gx5fCGA-6pcf-qg85-8364CGA-6pxc-v6c6-684vCGA-855q-2qpw-w59vCGA-86qg-996j-rm7hCGA-89r7-6j44-jg9rCGA-8q3g-83xv-wjpgCGA-8vm9-3hfm-hv7mCGA-8xhp-69fg-3gwmCGA-9cqw-gm99-qf8wCGA-9mx7-57p7-mp6fCGA-9v3c-jjhx-mhhhCGA-9x2h-2q6w-vxqvCGA-c565-r5p8-94wxCGA-c5fg-p33v-rpq4CGA-c94g-j3jx-w32pCGA-chff-f9cp-98vfCGA-f4h5-33f4-pmpqCGA-f89q-8x7h-j4mmCGA-f94x-fhf6-m9mfCGA-fcwj-388p-j2gmCGA-fw27-mffr-7h6fCGA-fx92-9299-725pCGA-g43g-mghc-gcgmCGA-g4p7-439j-5qf8CGA-g5jv-4jj9-ppmcCGA-gv2g-mrv7-rrq2CGA-h2ww-78j6-9748CGA-h3wf-jqvf-m38qCGA-h928-32gx-6hggCGA-hhr3-m25v-7556CGA-hwjr-4j69-fg6rCGA-hx6w-f2c2-94cpCGA-j6rv-p8cc-j8v9CGA-j9fp-pm8r-8rhmCGA-jxv5-jrwj-vgmjCGA-mfm7-32c2-g8cqCGA-mmr9-x895-rfr9CGA-mphx-c662-jwvcCGA-mr2c-59gr-pp88CGA-p48h-mmhg-fp7rCGA-p89h-6wrp-wpf7CGA-pgc3-5gfv-hw3qCGA-prmr-wq8v-8h6hCGA-prw7-4w4v-3wfjCGA-pw5v-gcrg-327cGHSA-c2f4-jgmc-q2r5CGA-px43-wv7r-wr4vCGA-qf5q-7cwc-4q8rCGA-qjcr-hqcv-h5h5CGA-qm73-fxg5-54jvCGA-qxq2-m72g-wr85CGA-r4x6-3p3p-jvmgCGA-r5h4-5cv4-q4p8CGA-r752-m548-3mrpCGA-r87c-3fmp-mc73CGA-rf5j-qfhx-rw57CGA-rrrx-32pw-7wxvCGA-rwxq-q3ff-jh6qCGA-v2w5-pp77-8cqxCGA-v3f8-vv95-xq73CGA-vm6q-4833-jmx3CGA-vv9v-x5fw-vm4qCGA-w45g-jc8f-qmqqCGA-w4jq-fgj4-9pq9CGA-whj9-43j4-hp4cCGA-wr9h-4mv6-pfj2CGA-wv6v-4f85-5f44CGA-x6ch-j27x-mjmxCGA-x99h-8c5v-ffp3CGA-xf92-w6pj-56hvCGA-xg29-5f6x-r4jrCGA-xw7m-p4jx-h5pjCGA-xwv6-24vj-w7mv
Published 17-09-2025Last modified 17-09-2025
Vulnerability summary
CVE-2025-58767 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in ruby-lang rexml. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15% of scored vulnerabilities.
CVSS score
5.3/10
010
Medium · v3.1 (NVD)EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 7 · Related 9Timeline
- 17-09-2025PublishedVulnerability first disclosed.
- 17-09-2025Last modifiedVulnerability information updated.
Description
REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.
CVSS metrics
11 scores · 9 sources · 2 versionsLow 1.2Preferred score · CVE.org (CNA)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:USources6 sources · 1.2–5.1
- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · RubygemsEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- NVDNIST1.2LowCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/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
Medium 5.3Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LSourcesAll 5 agree
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
0.00 pp
From 0.25% on 19-09-2026
19-09-202619-10-2026
EPSS score0.25%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard55 products
- gitlab-rails-ce-18.1All versions (No fix recorded)
- gitlab-rails-ce-18.2All versions (No fix recorded)
- gitlab-rails-ce-18.3< 18.3.2-r2
- gitlab-rails-ce-assets-18.3< 18.3.2-r2
- gitlab-rails-ce-assets-fips-18.3< 18.3.2-r1
Redhat42 products
- ruby< 0:3.3.10-5.module+el9.4.0+23769+ab06e946
- ruby-bundled-gems< 0:3.3.10-5.module+el9.4.0+23769+ab06e946
- ruby-bundled-gems-debuginfo< 0:3.3.10-5.module+el9.4.0+23769+ab06e946
- ruby-debuginfo< 0:3.3.10-5.module+el9.4.0+23769+ab06e946
- ruby-debugsource< 0:3.3.10-5.module+el9.4.0+23769+ab06e946
Wolfi7 products
- jruby-9.4< 9.4.15.0-r0
- kube-fluentd-operator< 1.18.2-r48
- kube-fluentd-operator-compat< 1.18.2-r48
- kube-fluentd-operator-default-config< 1.18.2-r48
- kube-fluentd-operator-oci-entrypoint< 1.18.2-r48
Ubuntu6 products
- ruby2.3All versions (No fix recorded)
- ruby2.5All versions (No fix recorded)
- ruby2.7All versions (No fix recorded)
- ruby3.0All versions (No fix recorded)
- ruby3.2All versions (No fix recorded)
Alpine1 product
- ruby-rexml≥ 3.3.3, < 3.4.4-r0
Debian1 product
- ruby3.3All versions (No fix recorded)
Opensuse1 product
- ruby3.4&distro=openSUSE Tumbleweed< 3.4.8-1.1
Ruby1 product
- rexml≥ 3.3.3, < 3.4.2
Ruby-lang1 product
- rexml≥ 3.3.3, < 3.4.2
RubyGems1 product
- rexml≥ 3.3.3, < 3.4.2
10 vendors · 116 products
References
18 links- github.com/ruby/rexml/security/advisories/GHSA-c2f4-jgmc-q2r5X Refsource CONFIRMARTICLEREPORTAdvisoryWEBVendor Advisory
- github.com/ruby/rexml/commit/5859bdeac792687eaf93d8e8f0b7e3c1e2ed5c23X Refsource MISCARTICLEFIXWEBPatch
Show all 18 references
- github.com/ruby/rexmlPACKAGE