CVE-2025-58767

Publication date 17 September 2025

Last updated 16 January 2026


Ubuntu priority

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.

Read the notes from the security team

Why is this CVE low priority?

Upstream rexml developers have rated this as being low severity

Learn more about Ubuntu priority

Status

Package Ubuntu Release Status
jruby 25.10 questing
Not affected
25.04 plucky
Not affected
24.04 LTS noble
Not affected
22.04 LTS jammy Not in release
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
ruby2.3 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Vulnerable
ruby2.5 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Vulnerable
ruby2.7 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Vulnerable
ruby3.0 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Vulnerable
ruby3.2 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble
Vulnerable
22.04 LTS jammy Not in release
ruby3.3 25.10 questing
Vulnerable
25.04 plucky Ignored end of life, was needed
24.04 LTS noble Not in release
22.04 LTS jammy Not in release

Notes


mdeslaur

This was introduced in the fix for CVE-2024-41123, which was backported to all our releases Introduced by: https://github.com/ruby/rexml/commit/e2546e6ecade16b04c9ee528e5be8509fe16c2d6

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ruby3.3