CVSS 4.0
1.2 lowCVSS: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:ULow (1.2) in ruby-lang rexml. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in rexml 3.4.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:UCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lrexml (RubyGems): fixed in 3.4.2Explain CVE-2025-58767 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58767?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58767?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58767 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:rexml | from 3.3.3 before 3.4.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c2f4-jgmc-q2r5 | RubyGems | rexml | >=3.3.3 <3.4.2 | 3.4.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | ruby3.3 | 3.3.13-0+deb13u1 | DEBIAN-CVE-2025-58767 DSA-6614-1 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2025-58767 |
| Ubuntu | 22.04:LTS | ruby3.0 | no fix listed | UBUNTU-CVE-2025-58767 |
| Ubuntu | 24.04:LTS | ruby3.2 | no fix listed | UBUNTU-CVE-2025-58767 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | ruby3.3 | no fix listed | UBUNTU-CVE-2025-58767 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | no fix listed | UBUNTU-CVE-2025-58767 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | no fix listed | UBUNTU-CVE-2025-58767 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | no fix listed | UBUNTU-CVE-2025-58767 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.10-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.22-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-json, rubygem-json-debuginfo | 0:2.7.2-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-minitest | 0:5.20.0-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more | 0:0.5.5-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-pg, rubygem-pg-doc, rubygem-pg-debuginfo and 1 more | 0:1.5.4-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-power_assert | 0:2.0.3-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| Red Hat | enterprise_linux:8::appstream | rubygem-psych, rubygem-psych-debuginfo | 0:5.1.2-5.module+el8.10.0+23696+c42b0f57 | RHSA-2025:23062 |
| 105 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | ruby2.5 | 2.5.9-150700.24.6.1 | SUSE-SU-2026:1066-1 |
| openSUSE | Leap 16.0 | ruby3.4 | 3.4.10-160000.1.1 | openSUSE-SU-2026:21878-1 |
| openSUSE | Tumbleweed | ruby3.4 | 3.4.8-1.1 | openSUSE-SU-2025:15828-1 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.10-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.22-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-json | 2.7.2-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-minitest | 5.20.0-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.5-1.module_el8.10.0+3799+191214cc | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-pg, rubygem-pg-doc | 1.5.4-1.module_el8.10.0+3799+191214cc | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-power_assert | 2.0.3-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| AlmaLinux | 8 | rubygem-psych | 5.1.2-5.module_el8.10.0+4075+e5f6dad1 | ALSA-2025:23062 |
| 41 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:3.3.10-5.module+el8.10.0+40038+e29e4152 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1741+bdb5b6ca | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1820+f3fffb92 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1826+b62220b4 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.9.0+1537+0b2034bd | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1679+61871737 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1679+61871737 | RLSA-2025:23062 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:23062 |
| 4 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.22, v3.23, v3.24 | ruby-rexml | 3.4.4-r0 | ALPINE-CVE-2025-58767 |
| Azure Linux | 3 | ruby | 3.3.5-6 | AZL-67611 |
| Azure Linux | 3 | rubygem-rexml | 3.3.9-2 | AZL-67614 |
| Alpaquita | 25, stream | ruby-rexml | 3.4.4-r0 | BELL-CVE-2025-58767 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
Red Hat Product Security team has rated this vulnerability as having the 'Moderate' severity, with the final CVSSv3.1 score of 5.3 as the final impact in availability is restricted to the application consuming the REXML package and not the whole system.
The primary mitigation for this flaw is to avoid parsing XML documents originating from untrusted, unauthenticated, or unverified sources.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ruby-0:3.3.10-11.el10_1 | Fixed 2025-12-11 | RHSA-2025:23141 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | ruby-0:3.3.10-11.el10_0 | Fixed 2025-12-22 | RHSA-2025:23927 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020251124151715.489197e6 | Fixed 2025-12-10 | RHSA-2025:23062 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9070020251113101221.9 | Fixed 2025-12-10 | RHSA-2025:23063 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | ruby:3.3-9040020251203142310.9 | Fixed 2025-12-11 | RHSA-2025:23140 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | ruby:3.3-9060020251210162455.9 | Fixed 2025-12-18 | RHSA-2025:23648 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-operator-bundle | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-rhel9-operator | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/eventrouter-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/fluentd-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/log-file-metric-exporter-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/vector-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Fix deferred | |
| 123 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-58767.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.