VDB

CVE-2025-58767

CVE-2025-58767 PUBLISHED CVSS 1.2 LOW

REXML has a DoS condition when parsing malformed XML file

Reported by github_m · Published September 17, 2025

rexml is fixed in 3.4.2 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rexmlRubyGems3.4.2
ruby3.3-fluentd-kubernetes-daemonset-1.18Wolfi1.18.0.1.0-r5
ruby3.2Amazon Linux3.2.8-184.amzn2023.0.6
ruby3.1-fluentd-kubernetes-daemonset-1.17Wolfi1.17.1.1.2-r7
ruby3.2-rubygem-typeprofAmazon Linux0.21.3-184.amzn2023.0.6
ruby3.2-fluentd-kubernetes-daemonset-1.17Wolfi1.17.1.1.2-r7
jruby-9.4Wolfi9.4.15.0-r0
ruby3.2-fluentd-kubernetes-daemonset-1.18Chainguard1.18.0.1.0-r5
ruby3.2-rubygem-power_assertAmazon Linux2.0.3-184.amzn2023.0.6
ruby3.4-fluentd-kubernetes-daemonset-1.16Chainguard1.16.8.1.0-r4
ruby3.1-fluentd-kubernetes-daemonset-1.18Chainguard1.18.0.1.0-r6
gitlab-rails-ce-18.3Chainguard18.3.2-r2

16 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
1.2
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:U

Affected products

VendorProductVersions
rubyrexml>= 3.3.3, < 3.4.2
wolfiruby3.3-fluentd-kubernetes-daemonset-1.180
amazon:2023ruby3.20
wolfiruby3.1-fluentd-kubernetes-daemonset-1.170
amazon:2023ruby3.2-rubygem-typeprof0
wolfiruby3.2-fluentd-kubernetes-daemonset-1.170
wolfijruby-9.40
chainguardruby3.2-fluentd-kubernetes-daemonset-1.180
amazon:2023ruby3.2-rubygem-power_assert0
chainguardruby3.4-fluentd-kubernetes-daemonset-1.160
chainguardruby3.1-fluentd-kubernetes-daemonset-1.180
chainguardgitlab-rails-ce-18.30
chainguardtruffleruby0
amazon:2023ruby3.2-bundled-gems0
amazon:2023ruby3.2-rubygem-test-unit0
alpineruby-rexml0
wolfikube-fluentd-operator0
wolfilogstash-9.10
amazon:2023ruby3.2-rubygem-rdoc0
wolfiruby3.1-fluentd-kubernetes-daemonset-1.180

…and 37 more

Timeline

  • Sep 17, 2025 CVE Published
  • Sep 18, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2025 Coalition ESS Score (5 in total, the first dated here)
  • Dec 8, 2025 Security Advisory (7 in total, the first dated here)
  • Oct 28, 2026 CVE Updated
  • Nov 2, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-58767
vulnetix vdb fixes CVE-2025-58767

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-58767/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›