Resource Exhaustion Affecting ruby-rexml package, versions <3.4.4-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE323-RUBYREXML-14880402
  • published6 Jan 2026
  • disclosed17 Sept 2025

Introduced: 17 Sep 2025

CVE-2025-58767  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 ruby-rexml to version 3.4.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rexml package and not the ruby-rexml package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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 Base Scores

version 3.1